src/SDL_log.c
changeset 7215 41e739a52f69
parent 7191 75360622e65f
child 7274 d9ef44d91559
--- a/src/SDL_log.c	Thu May 23 18:45:14 2013 -0400
+++ b/src/SDL_log.c	Thu May 23 23:27:48 2013 -0700
@@ -299,9 +299,9 @@
         size_t length;
         LPTSTR tstr;
 
-        length = SDL_strlen(SDL_priority_prefixes[priority]) + 2 + SDL_strlen(message) + 1;
+        length = SDL_strlen(SDL_priority_prefixes[priority]) + 2 + SDL_strlen(message) + 1 + 1;
         output = SDL_stack_alloc(char, length);
-        SDL_snprintf(output, length, "%s: %s", SDL_priority_prefixes[priority], message);
+        SDL_snprintf(output, length, "%s: %s\n", SDL_priority_prefixes[priority], message);
         tstr = WIN_UTF8ToString(output);
         OutputDebugString(tstr);
         SDL_free(tstr);