Skip to content
Snippets Groups Projects
Commit 12750849 authored by rswindell's avatar rswindell
Browse files

Fix long-standing bug (from first commit): use of text_h file pointer after

closure of the file. This appears to have just been a typo and the intended
file pointer was text_js (text.js). This bug also meant that TOTAL_TEXT was not
be defined in the generated text.js files.
parent 8d9f6ef6
No related branches found
No related tags found
No related merge requests found
......@@ -266,8 +266,8 @@ int main(int argc, char **argv)
fputs("\n",text_h);
fputs("#endif\n",text_h);
fclose(text_h);
fputs("\n",text_h);
fprintf(text_h, "var TOTAL_TEXT=%d;\n",i);
fputs("\n",text_js);
fprintf(text_js, "var TOTAL_TEXT=%d;\n",i);
fclose(text_js);
fputs("};\n",text_defaults_c);
fclose(text_defaults_c);
......
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