source/layout/IndicRearrangementProcessor.cpp
Masatake YAMATO <[email protected]> Thu, 18 Dec 2003 22:51:11 +0900 (JST)
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <[email protected]> |
I found typos in IndicRearrangementProcessor.cpp.
Masatake YAMATO
Index: source/layout/IndicRearrangementProcessor.cpp
===================================================================
RCS file: /usr/cvs/icu/icu/source/layout/IndicRearrangementProcessor.cpp,v
retrieving revision 1.6
diff -u -r1.6 IndicRearrangementProcessor.cpp
--- source/layout/IndicRearrangementProcessor.cpp 3 Jun 2003 20:58:21 -0000 1.6
+++ source/layout/IndicRearrangementProcessor.cpp 18 Dec 2003 13:37:55 -0000
@@ -162,7 +162,7 @@
id = charIndices[lastGlyph];
x = lastGlyph - 2;
- while (x >= lastGlyph) {
+ while (x >= firstGlyph) {
glyphs[x + 2] = glyphs[x];
charIndices[x + 2] = charIndices[x];
x -= 1;
@@ -182,7 +182,7 @@
id = charIndices[lastGlyph];
x = lastGlyph - 2;
- while (x >= lastGlyph) {
+ while (x >= firstGlyph) {
glyphs[x + 2] = glyphs[x];
charIndices[x + 2] = charIndices[x];
x -= 1;