Added a FIXME.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 05 Jul 2013 00:41:01 -0400
changeset 7343 faf0d8c7dbec
parent 7342 4828e86c6010
child 7344 3d9397262c10
Added a FIXME.
src/SDL_log.c
--- a/src/SDL_log.c	Fri Jul 05 00:30:23 2013 -0400
+++ b/src/SDL_log.c	Fri Jul 05 00:41:01 2013 -0400
@@ -389,6 +389,7 @@
         unsigned int length;
         char*        output;
         FILE*        pFile;
+        /* !!! FIXME: is there any reason we didn't just use fprintf() here? */
         length = SDL_strlen(SDL_priority_prefixes[priority]) + 2 + SDL_strlen(message) + 1;
         output = SDL_stack_alloc(char, length);
         SDL_snprintf(output, length, "%s: %s", SDL_priority_prefixes[priority], message);