Skip to content
Snippets Groups Projects
Commit b55795f1 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

"Fix" some more warnings.

This need to be tested.
parent 813787be
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -380,8 +380,12 @@ main(int argc, char **argv)
fread(&TDFont.Chartable[x], 2, 1, fp3);
TDFont.Chartable[x]=LE_SHORT(TDFont.Chartable[x]);
}
for (x = 1; x <= 22; x++)
// TODO: This read 22 bytes previously...
for (x = 1; x <= 20; x++)
TDFont.b[x] = fgetc(fp3);
// TODO: So I added two junk reads here.
fgetc(fp3);
fgetc(fp3);
for (x = 0; x <= 16; x++)
FontRec.FontName[x] = TDFont.Name[x];
FontRec.FilePos = b + FontRecordSize;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment