CString -> RString in RageUtil

ThemeMetric<CString> -> LocalizedString to eliminate dependencies
This commit is contained in:
Chris Danford
2005-12-20 08:35:47 +00:00
parent 0311b4256b
commit d698a5f1ec
35 changed files with 439 additions and 291 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ static bool CodePageConvert(CString &txt, int cp)
size = MultiByteToWideChar(cp, MB_ERR_INVALID_CHARS, txt.data(), txt.size(), (wchar_t *) out.data(), size);
ASSERT( size != 0 );
txt = WStringToCString(out);
txt = WStringToRString(out);
return true;
}