src/SDL_log.c
changeset 7343 faf0d8c7dbec
parent 7307 5d6b7b9432d3
child 7344 3d9397262c10
     1.1 --- a/src/SDL_log.c	Fri Jul 05 00:30:23 2013 -0400
     1.2 +++ b/src/SDL_log.c	Fri Jul 05 00:41:01 2013 -0400
     1.3 @@ -389,6 +389,7 @@
     1.4          unsigned int length;
     1.5          char*        output;
     1.6          FILE*        pFile;
     1.7 +        /* !!! FIXME: is there any reason we didn't just use fprintf() here? */
     1.8          length = SDL_strlen(SDL_priority_prefixes[priority]) + 2 + SDL_strlen(message) + 1;
     1.9          output = SDL_stack_alloc(char, length);
    1.10          SDL_snprintf(output, length, "%s: %s", SDL_priority_prefixes[priority], message);