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 13d7972 commit e8f6029Copy full SHA for e8f6029
src/xrCore/xrstring.h
@@ -2,6 +2,8 @@
2
#define xrstringH
3
#pragma once
4
5
+#include "_std_extensions.h"
6
+
7
#pragma pack(push,4)
8
//////////////////////////////////////////////////////////////////////////
9
typedef const char* str_c;
@@ -94,7 +96,7 @@ class shared_str
94
96
string4096 buf;
95
97
va_list p;
98
va_start(p, format);
- int vs_sz = _vsnprintf(buf, sizeof(buf) - 1, format, p);
99
+ int vs_sz = xr_sprintf(buf, sizeof(buf) - 1, format, p);
100
buf[sizeof(buf) - 1] = 0;
101
va_end(p);
102
if (vs_sz) _set(buf);
0 commit comments