Skip to content

Commit 60de296

Browse files
committedNov 26, 2012
Fix the ignoring of option context
1 parent 610ef35 commit 60de296

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nbproject/

‎lib/Diff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function getGroupedOpcodes()
170170

171171
require_once dirname(__FILE__).'/Diff/SequenceMatcher.php';
172172
$sequenceMatcher = new Diff_SequenceMatcher($this->a, $this->b, null, $this->options);
173-
$this->groupedCodes = $sequenceMatcher->getGroupedOpcodes();
173+
$this->groupedCodes = $sequenceMatcher->getGroupedOpcodes($this->options['context']);
174174
return $this->groupedCodes;
175175
}
176176
}

0 commit comments

Comments
 (0)