changeset 103380:c74889986273

(x_get_glyph_overhangs): Fix calculation of right overhang for the static composition case.
author Kenichi Handa <handa@m17n.org>
date Thu, 11 Jun 2009 02:34:34 +0000
parents c4bcff5f6860
children 52c7aa9ce937
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Jun 11 02:34:05 2009 +0000
+++ b/src/xdisp.c	Thu Jun 11 02:34:34 2009 +0000
@@ -19915,8 +19915,8 @@
 
 	  if (cmp->rbearing > cmp->pixel_width)
 	    *right = cmp->rbearing - cmp->pixel_width;
-	  if (cmp->lbearing < 0);
-	  *left = - cmp->lbearing;
+	  if (cmp->lbearing < 0)
+	    *left = - cmp->lbearing;
 	}
       else
 	{