TTS: Change String == "" to String.empty()

This commit is contained in:
Jaromir Wysoglad 2019-07-18 23:43:37 +02:00 committed by Filippos Karapetis
parent bb3346fba7
commit 788b15652d
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@ bool LinuxTextToSpeechManager::say(Common::String str, Common::String charset) {
if (_speechState == BROKEN)
return true;
if (charset == "") {
if (charset.empty()) {
#ifdef USE_TRANSLATION
charset = TransMan.getCurrentCharset();
#else