From 4188c83c7f110fa19e79adb83ea2ff1666c0abac Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Tue, 21 May 2013 20:09:23 -0700 Subject: [PATCH] Fixed Linux build. --- include/bx/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bx/string.h b/include/bx/string.h index bd6cbba..8ca666e 100644 --- a/include/bx/string.h +++ b/include/bx/string.h @@ -192,7 +192,7 @@ namespace bx int32_t len = ::_vsnwprintf_s(_str, _count*sizeof(wchar_t), _count, _format, _argList); return -1 == len ? ::_vscwprintf(_format, _argList) : len; #else - return ::vsnwprintf(_str, _count, _format, _argList); + return ::vswprintf(_str, _count, _format, _argList); #endif // BX_COMPILER_MSVC }