Răsfoiți Sursa

Fixed Linux build.

bkaradzic 12 ani în urmă
părinte
comite
4188c83c7f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      include/bx/string.h

+ 1 - 1
include/bx/string.h

@@ -192,7 +192,7 @@ namespace bx
 		int32_t len = ::_vsnwprintf_s(_str, _count*sizeof(wchar_t), _count, _format, _argList);
 		int32_t len = ::_vsnwprintf_s(_str, _count*sizeof(wchar_t), _count, _format, _argList);
 		return -1 == len ? ::_vscwprintf(_format, _argList) : len;
 		return -1 == len ? ::_vscwprintf(_format, _argList) : len;
 #else
 #else
-		return ::vsnwprintf(_str, _count, _format, _argList);
+		return ::vswprintf(_str, _count, _format, _argList);
 #endif // BX_COMPILER_MSVC
 #endif // BX_COMPILER_MSVC
 	}
 	}