aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech/windows
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-18 23:43:37 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit788b15652db9c5d062520c3202d30c827fd6fe21 (patch)
tree51177f45e4f7498887d21b5a7022ba9d2aea8057 /backends/text-to-speech/windows
parentbb3346fba7c77ac4db1a9d4542da01ca3d12bc46 (diff)
downloadscummvm-rg350-788b15652db9c5d062520c3202d30c827fd6fe21.tar.gz
scummvm-rg350-788b15652db9c5d062520c3202d30c827fd6fe21.tar.bz2
scummvm-rg350-788b15652db9c5d062520c3202d30c827fd6fe21.zip
TTS: Change String == "" to String.empty()
Diffstat (limited to 'backends/text-to-speech/windows')
-rw-r--r--backends/text-to-speech/windows/windows-text-to-speech.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/text-to-speech/windows/windows-text-to-speech.cpp b/backends/text-to-speech/windows/windows-text-to-speech.cpp
index 506220a9c7..0625bc8d52 100644
--- a/backends/text-to-speech/windows/windows-text-to-speech.cpp
+++ b/backends/text-to-speech/windows/windows-text-to-speech.cpp
@@ -98,7 +98,7 @@ bool WindowsTextToSpeechManager::say(Common::String str, Common::String charset)
return true;
}
- if (charset == "") {
+ if (charset.empty()) {
#ifdef USE_TRANSLATION
charset = TransMan.getCurrentCharset();
#else