Changeset 42028
- Timestamp:
- 10/26/2017 12:51:51 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Text/Diff/Engine/native.php
r42027 r42028 191 191 $matches = $ymatches[$line]; 192 192 reset($matches); 193 while ( list(, $y) = each($matches)) {193 while ($y = current($matches)) { 194 194 if (empty($this->in_seq[$y])) { 195 195 $k = $this->_lcsPos($y); … … 198 198 break; 199 199 } 200 } 201 while (list(, $y) = each($matches)) { 200 next($matches); 201 } 202 while ($y = current($matches)) { 202 203 if ($y > $this->seq[$k - 1]) { 203 204 assert($y <= $this->seq[$k]); … … 212 213 $ymids[$k] = $ymids[$k - 1]; 213 214 } 215 next($matches); 214 216 } 215 217 }
Note: See TracChangeset
for help on using the changeset viewer.