From 80bdfe8c6a88b4c816975c3575603e545ab69ccb Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 17 Mar 2004 23:19:04 +0000 Subject: [PATCH] *** empty log message *** --- src/draw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/draw.c b/src/draw.c index be694fe..e1882b4 100644 --- a/src/draw.c +++ b/src/draw.c @@ -1129,7 +1129,8 @@ render_glyphs (MFrame *frame, MDrawWindow win, int x, int y, int width, rect.x += rect.width; if (rect.x < x + width) { - while (g != gend && x + width - gend[-1].width >= rect.x) + while (g != gend + && (x + width - gend[-1].width + gend[-1].lbearing >= rect.x)) { width -= (--gend)->width; while (! gend->enabled && g != gend) -- 1.7.10.4