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:
78c938f
)
(mflt_run): If g->encoded is set, don't clear g->code.
author
handa
<handa>
Tue, 30 Dec 2008 23:29:26 +0000
(23:29 +0000)
committer
handa
<handa>
Tue, 30 Dec 2008 23:29:26 +0000
(23:29 +0000)
src/m17n-flt.c
patch
|
blob
|
history
diff --git
a/src/m17n-flt.c
b/src/m17n-flt.c
index
6c82679
..
45821a3
100644
(file)
--- a/
src/m17n-flt.c
+++ b/
src/m17n-flt.c
@@
-2558,9
+2558,12
@@
mflt_run (MFLTGlyphString *gstring, int from, int to,
for (i = from; i < to; i++)
{
g = GREF (gstring, i);
- c = g->c;
- memset (g, 0, sizeof (MFLTGlyph));
- g->code = g->c = c;
+ if (! g->encoded)
+ {
+ c = g->c;
+ memset (g, 0, sizeof (MFLTGlyph));
+ g->code = g->c = c;
+ }
g->from = g->to = i;
}