Navigation Menu

Skip to content

Commit

Permalink
[Android] Use vsnprintf for the log messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonicadvance1 committed May 6, 2013
1 parent 09def3e commit b6963ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/MainAndroid.cpp
Expand Up @@ -113,7 +113,7 @@ void Host_SysMessage(const char *fmt, ...)
char msg[512];

va_start(list, fmt);
vsprintf(msg, fmt, list);
vsnprintf(msg, 512, fmt, list);
va_end(list);

size_t len = strlen(msg);
Expand Down

0 comments on commit b6963ce

Please sign in to comment.