# HG changeset patch # User Matti Hamalainen # Date 1351992720 -7200 # Node ID b4ed5292d7bf0ae8b50b175babdba0feb29d4185 # Parent bc1da1f4cb4b65a30dfa717bc4557c00a7e36373 Close the file after writing. diff -r bc1da1f4cb4b -r b4ed5292d7bf libgfx.c --- a/libgfx.c Sun Nov 04 03:18:42 2012 +0200 +++ b/libgfx.c Sun Nov 04 03:32:00 2012 +0200 @@ -183,6 +183,7 @@ fprintf(fp, "\tdc.w $%04X\n", color); } + fclose(fp); return 0; }