|
@@ 2149-2153 (lines=5) @@
|
| 2146 |
|
for ($i=0; $i < $numchars; ++$i) { |
| 2147 |
|
if ($chardata[$i]['char'] == 'EN') { |
| 2148 |
|
for ($j=$levcount; $j >= 0; $j--) { |
| 2149 |
|
if ($chardata[$j]['type'] == 'AL') { |
| 2150 |
|
$chardata[$i]['type'] = 'AN'; |
| 2151 |
|
} elseif (($chardata[$j]['type'] == 'L') OR ($chardata[$j]['type'] == 'R')) { |
| 2152 |
|
break; |
| 2153 |
|
} |
| 2154 |
|
} |
| 2155 |
|
} |
| 2156 |
|
if ($chardata[$i]['level'] != $prevlevel) { |
|
@@ 2312-2314 (lines=3) @@
|
| 2309 |
|
for ($i=0; $i < $numchars; ++$i) { |
| 2310 |
|
$odd = $chardata[$i]['level'] % 2; |
| 2311 |
|
if ($odd) { |
| 2312 |
|
if (($chardata[$i]['type'] == 'L') OR ($chardata[$i]['type'] == 'AN') OR ($chardata[$i]['type'] == 'EN')) { |
| 2313 |
|
$chardata[$i]['level'] += 1; |
| 2314 |
|
} |
| 2315 |
|
} else { |
| 2316 |
|
if ($chardata[$i]['type'] == 'R') { |
| 2317 |
|
$chardata[$i]['level'] += 1; |