Re: source/layout/IndicRearrangementProcessor.cpp

Eric Mader <[email protected]> Thu, 18 Dec 2003 08:31:28 -0800
Newsgroups gmane.comp.lib.icu.general
Message-ID <[email protected]>
Hello Yamato-san,

Thanks for spotting this! I'll submit a bug for this to make sure that 
it gets tracked and fixed.

Regards,
Eric Mader
IBM GCoC - San José
5600 Cottle Rd.  M/S 50-2/B11
San Jose, CA 95193

Masatake YAMATO wrote:

> 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;
> _______________________________________________
> icu mailing list
> [email protected]
> http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu
> 
>