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:
14198bb
)
(mdraw_glyph_info): Pay attention to the case that FROM
author
handa
<handa>
Mon, 3 Oct 2005 13:34:04 +0000
(13:34 +0000)
committer
handa
<handa>
Mon, 3 Oct 2005 13:34:04 +0000
(13:34 +0000)
is not at the beginning of line.
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
4ea2041
..
382b5f6
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-2650,7
+2650,8
@@
mdraw_glyph_info (MFrame *frame, MText *mt, int from, int pos,
info->prev_from = g_tmp->pos;
}
- else if (info->line_from > 0)
+ else if (info->line_from > 0
+ && gstring->from > 0)
{
/* The logically previous glyph is on the previous line. */
MGlyphString *gst = get_gstring (frame, mt, gstring->from - 1,