diff options
-rw-r--r-- | src/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -115,7 +115,10 @@ void Debug(const char *format, ...) va_list ap; if (!fp) + { fp=fopen("debug.txt","w"); + setbuf(fp,NULL); + } if (!fp) return; |