From 04db1091a8dd9a96c7b33411d1cf0670149c0bd8 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 5 Jul 2013 00:41:01 -0400 Subject: [PATCH] Added a FIXME. --- src/SDL_log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SDL_log.c b/src/SDL_log.c index 6cbfaf0e9..8bb5cd974 100644 --- a/src/SDL_log.c +++ b/src/SDL_log.c @@ -389,6 +389,7 @@ SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority, 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);