projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
551531d
)
*** empty log message ***
author
handa
<handa>
Wed, 17 Mar 2004 23:19:04 +0000
(23:19 +0000)
committer
handa
<handa>
Wed, 17 Mar 2004 23:19:04 +0000
(23:19 +0000)
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
be694fe
..
e1882b4
100644
(file)
--- 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)