mirror of
https://github.com/yawut/SDL.git
synced 2026-07-10 13:44:44 -05:00
Added a FIXME.
This commit is contained in:
parent
79d7ea0d5d
commit
c5f0419216
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user