diff options
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -288,6 +288,8 @@ int cfclose(CFILE *cfile) { if (cfile) { if (cfile->close) { ret = fclose(cfile->file); + } else if (cfile->file) { + ret = fflush(cfile->file); } free(cfile); } |