TTS: Change String == "" to String.empty()
This commit is contained in:
parent
bb3346fba7
commit
788b15652d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue