mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
stdafx_gui.h created, wx removed from stdafx.h
This commit is contained in:
parent
693e7a38fa
commit
028ce2dd9f
45 changed files with 421 additions and 183 deletions
|
@ -14,7 +14,11 @@ std::string fmt::FormatV(const char *fmt, va_list args)
|
|||
for (;;)
|
||||
{
|
||||
std::vector<char> buffptr(length);
|
||||
#if !defined(_MSC_VER)
|
||||
size_t printlen = vsnprintf(buffptr.data(), length, fmt, args);
|
||||
#else
|
||||
size_t printlen = vsnprintf_s(buffptr.data(), length, length - 1, fmt, args);
|
||||
#endif
|
||||
if (printlen < length)
|
||||
{
|
||||
str = std::string(buffptr.data(), printlen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue