mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
WINTERMUTE: Silence an error when trying to set window-title
Currently we don't set the window-title anyhow, so why trigger an error about the text-encoding?
This commit is contained in:
parent
ecc03331db
commit
66602bcd9c
@ -3791,8 +3791,10 @@ void CBGame::SetWindowTitle() {
|
||||
if (_textEncoding == TEXT_UTF8) {
|
||||
title = Utf8String(Title);
|
||||
} else {
|
||||
WideString wstr = StringUtil::AnsiToWide(Title);
|
||||
title = StringUtil::WideToUtf8(wstr);
|
||||
warning("CBGame::SetWindowTitle -Ignoring textencoding");
|
||||
title = Utf8String(Title);
|
||||
/* WideString wstr = StringUtil::AnsiToWide(Title);
|
||||
title = StringUtil::WideToUtf8(wstr);*/
|
||||
}
|
||||
|
||||
CBRenderSDL *renderer = static_cast<CBRenderSDL *>(_renderer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user