From 61c3bdd3a46c743fa26206f243d1d54ad39bf8f0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 13 Apr 2006 02:55:12 +0000 Subject: Fix loop variables. (coverity found bug.) 2006-04-12 Behdad Esfahbod * pango/opentype/ftxgpos.c: Fix loop variables. (coverity found bug.) --- ChangeLog | 5 +++++ pango/opentype/ftxgpos.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d0ac1c1b..8b5cf94c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-12 Behdad Esfahbod + + * pango/opentype/ftxgpos.c: Fix loop variables. (coverity + found bug.) + 2006-04-09 Behdad Esfahbod Bug 337821 – invisible unicode chars are visible next to hebrew chars diff --git a/pango/opentype/ftxgpos.c b/pango/opentype/ftxgpos.c index 69efd070..a7b933ba 100644 --- a/pango/opentype/ftxgpos.c +++ b/pango/opentype/ftxgpos.c @@ -5013,19 +5013,19 @@ FREE( plr ); Fail2: - for ( m = 0; m < nl; nl++ ) + for ( m = 0; m < nl; m++ ) Free_Coverage( &l[m], memory ); FREE( l ); Fail3: - for ( m = 0; m < ni; n++ ) + for ( m = 0; m < ni; m++ ) Free_Coverage( &i[m], memory ); FREE( i ); Fail4: - for ( m = 0; m < nb; n++ ) + for ( m = 0; m < nb; m++ ) Free_Coverage( &b[m], memory ); FREE( b ); -- cgit v1.2.1