Skip to content

Commit e8f6029

Browse files
committed
xrCore/xrstring: _vsnprintf -> xr_sprintf.
1 parent 13d7972 commit e8f6029

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/xrCore/xrstring.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#define xrstringH
33
#pragma once
44

5+
#include "_std_extensions.h"
6+
57
#pragma pack(push,4)
68
//////////////////////////////////////////////////////////////////////////
79
typedef const char* str_c;
@@ -94,7 +96,7 @@ class shared_str
9496
string4096 buf;
9597
va_list p;
9698
va_start(p, format);
97-
int vs_sz = _vsnprintf(buf, sizeof(buf) - 1, format, p);
99+
int vs_sz = xr_sprintf(buf, sizeof(buf) - 1, format, p);
98100
buf[sizeof(buf) - 1] = 0;
99101
va_end(p);
100102
if (vs_sz) _set(buf);

0 commit comments

Comments
 (0)