Fix utf8 encoding on sphrase info window

main/atys-pre-live
Nimetu 3 years ago committed by Nuno
parent b325126b20
commit c47db9bf94

@ -798,7 +798,7 @@ void CSPhraseManager::buildPhraseFromSheet(CSPhraseCom &phrase, sint32 sheetI
if(phraseSheet) if(phraseSheet)
{ {
// get localized Name // get localized Name
phrase.Name= STRING_MANAGER::CStringManagerClient::getSPhraseLocalizedName(CSheetId(sheetId)); phrase.Name.fromUtf8(STRING_MANAGER::CStringManagerClient::getSPhraseLocalizedName(CSheetId(sheetId)));
// Build bricks // Build bricks
phrase.Bricks.clear(); phrase.Bricks.clear();
for(uint i=0;i<phraseSheet->Bricks.size();i++) for(uint i=0;i<phraseSheet->Bricks.size();i++)

Loading…
Cancel
Save