Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added a FIXME.

  • Loading branch information
icculus committed Jul 5, 2013
1 parent 38864a6 commit 04db1091a8dd9a96c7b33411d1cf0670149c0bd8

File 1 of 1 in 04db109

@@ -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);

0 comments on commit 04db109

Please sign in to comment.