Fix dbg() not writing a newline.

puts() appends a newline, but fputs() does not.
Who needs consistency when you have undefined behavior? Oh, wait.
pull/3/head
whitequark 2015-03-17 20:02:04 +03:00
parent 1bbf61b8a2
commit ffd2df9494
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ void dbp(const char *str, ...)
va_end(f); va_end(f);
fputs(buf, stderr); fputs(buf, stderr);
fputc('\n', stderr);
} }
void GetAbsoluteFilename(char *file) void GetAbsoluteFilename(char *file)