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:
55d0da5
)
gcc 2.95.x compatibility fixes.
author
kramm
<kramm>
Sat, 14 Aug 2004 12:44:47 +0000
(12:44 +0000)
committer
kramm
<kramm>
Sat, 14 Aug 2004 12:44:47 +0000
(12:44 +0000)
lib/modules/swftext.c
patch
|
blob
|
history
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
f9840ed
..
181c498
100644
(file)
--- a/
lib/modules/swftext.c
+++ b/
lib/modules/swftext.c
@@
-575,11
+575,13
@@
int swf_FontReduce(SWFFONT * f, FONTUSAGE * use)
void swf_FontSort(SWFFONT * font)
{
- if (!font)
- return;
int i, j, k;
- int *newplace = malloc(sizeof(int) * font->numchars);
+ int *newplace;
int *newpos;
+ if (!font)
+ return;
+
+ newplace = malloc(sizeof(int) * font->numchars);
for (i = 0; i < font->numchars; i++) {
newplace[i] = i;