git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25433f
)
fixed off by one maxascii bug.
author
kramm
<kramm>
Mon, 16 Aug 2004 08:36:22 +0000
(08:36 +0000)
committer
kramm
<kramm>
Mon, 16 Aug 2004 08:36:22 +0000
(08:36 +0000)
lib/modules/swffont.c
patch
|
blob
|
history
diff --git
a/lib/modules/swffont.c
b/lib/modules/swffont.c
index
88b565a
..
e5ff9ee
100644
(file)
--- a/
lib/modules/swffont.c
+++ b/
lib/modules/swffont.c
@@
-196,7
+196,7
@@
SWFFONT* swf_LoadTrueTypeFont(char*filename)
g = -1;
font->ascii2glyph[t] = g;
if(g>=0) {
- max_unicode = t;
+ max_unicode = t+1;
if(!font->glyph2ascii[g]) {
font->glyph2ascii[g] = t;
}