fix unix/osx build

This commit is contained in:
Stephan Dilly
2015-04-09 00:09:21 +02:00
parent 0f60db25d5
commit 60fecdb768

View File

@@ -943,7 +943,7 @@ CIMGUI_API void ig_LogText(const char* fmt, ...)
char buffer[256];
va_list args;
va_start(args, fmt);
vsprintf_s(buffer, 256, fmt, args);
snprintf(buffer, 256, fmt, args);
va_end(args);
ImGui::LogText("%s",buffer);