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:
2e78125
)
(visual_order): Exclude the last anchor glyph from the
author
handa
<handa>
Tue, 20 Nov 2007 06:57:49 +0000
(06:57 +0000)
committer
handa
<handa>
Tue, 20 Nov 2007 06:57:49 +0000
(06:57 +0000)
iteration.
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
976b58b
..
a1942d1
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-176,7
+176,7
@@
visual_order (MGlyphString *gstring)
memcpy (glyphs, gstring->glyphs, sizeof (MGlyph) * gstring->used);
- for (i = gidx = 0; i < gstring->used; gidx++)
+ for (i = gidx = 0; i < gstring->used - 1; gidx++)
{
int level = glyphs[i].bidi_level;