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;