We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f11fd37 commit 8efd655Copy full SHA for 8efd655
src/xrEngine/GameFont.cpp
@@ -284,11 +284,7 @@ void CGameFont::MasterOut(
284
rs.c = dwCurrentColor;
285
rs.height = fCurrentHeight;
286
rs.align = eCurrentAlignment;
287
-#ifndef _EDITOR
288
- int vs_sz = vsprintf_s(rs.string, fmt, p);
289
-#else
290
- int vs_sz = vsprintf(rs.string, fmt, p);
291
-#endif
+ int vs_sz = xr_sprintf(rs.string, fmt, p);
292
//VERIFY( ( vs_sz != -1 ) && ( rs.string[ vs_sz ] == '\0' ) );
293
294
rs.string[sizeof(rs.string) - 1] = 0;
0 commit comments