changeset 440:b4ed5292d7bf

Close the file after writing.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 04 Nov 2012 03:32:00 +0200
parents bc1da1f4cb4b
children 2a4de5fe4003
files libgfx.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;    
 }