summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-12-07 01:12:00 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2014-12-07 01:12:00 -0600
commit4e98078dafe0075a02c371ae463a4b933ca04d6d (patch)
tree763df9bdc5b9e0ca9a58b4bbb9391debe1f6ec69 /Source/Core/Common/StringUtil.cpp
parent9897f7675e9b045156393cfeacb25c74d256b842 (diff)
parent9bcadc8029b615d3d447a2a875fd720a73255d11 (diff)
Merge pull request #1658 from lioncash/locale
Common: Remove locale based functions from CommonFuncs.
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
-rw-r--r--Source/Core/Common/StringUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp
index d1af64f30e..edc1ca9046 100644
--- a/Source/Core/Common/StringUtil.cpp
+++ b/Source/Core/Common/StringUtil.cpp
@@ -72,7 +72,7 @@ bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list ar
// will be present in the middle of a multibyte sequence.
//
// This is why we lookup an ANSI (cp1252) locale here and use _vsnprintf_l.
- static locale_t c_locale = nullptr;
+ static _locale_t c_locale = nullptr;
if (!c_locale)
c_locale = _create_locale(LC_ALL, ".1252");
writtenCount = _vsnprintf_l(out, outsize, format, c_locale, args);