mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-13 19:49:36 +00:00
Fix bad parameter
This commit is contained in:
@@ -26,7 +26,7 @@ int toolMain(int argc, const char **argv)
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
FILE *outF = fopen_utf8(argv[2], "wb");
|
||||
if (!outF)
|
||||
{
|
||||
@@ -66,7 +66,7 @@ int toolMain(int argc, const char **argv)
|
||||
int c = fgetc(inF);
|
||||
fprintf(outF, "% 4i,", (c & 0xff));
|
||||
}
|
||||
fprintf(outF, "\n};\n\n", numFiles);
|
||||
fprintf(outF, "\n};\n\n");
|
||||
|
||||
numFiles++;
|
||||
|
||||
@@ -87,6 +87,6 @@ int toolMain(int argc, const char **argv)
|
||||
fprintf(outF, "const FileCatalog &GetCatalog() { return g_catalog; }\n");
|
||||
|
||||
fclose(outF);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user