fontgen: put character number before character data

This commit is contained in:
josh committed 2023-09-13 08:54:09 -04:00
1 parent 209658ee09
commit d04c5444c7
1 file changed
+1
+1
View File
@@ -110,6 +110,7 @@ static void generate(const char * d_file_name)
fprintf(fh, " [\n");
for (int i = 0; i < N_CHARS; i++)
{
fprintf(fh, " /* %d */", i);
fprintf(fh, " CharInfo(\n");
fprintf(fh, " %du,\n", char_infos[i].width);
fprintf(fh, " %du,\n", char_infos[i].height);