mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 07:17:44 +00:00
wchar_t/etc fixes
This was SVN commit r692.
This commit is contained in:
@@ -38,6 +38,13 @@ CStr::CStr(tstring String)
|
||||
m_String = String;
|
||||
}
|
||||
|
||||
#if !(defined(_MSC_VER) && defined(_UNICODE))
|
||||
CStr::CStr(std::utf16string String)
|
||||
{
|
||||
m_String = tstring(String.begin(), String.end());
|
||||
}
|
||||
#endif
|
||||
|
||||
CStr::CStr(TCHAR Char)
|
||||
{
|
||||
// Creates CStr from a TCHAR
|
||||
|
||||
Reference in New Issue
Block a user