[Scummvm-git-logs] scummvm master -> 73f43cdcb3a07ff5d9659295b77140fcb647a431
eriktorbjorn
eriktorbjorn at telia.com
Mon May 3 14:47:56 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
73f43cdcb3 GUI: Fix build when USE_TTS is undefined
Commit: 73f43cdcb3a07ff5d9659295b77140fcb647a431
https://github.com/scummvm/scummvm/commit/73f43cdcb3a07ff5d9659295b77140fcb647a431
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-05-03T16:47:30+02:00
Commit Message:
GUI: Fix build when USE_TTS is undefined
Changed paths:
gui/options.cpp
diff --git a/gui/options.cpp b/gui/options.cpp
index ec83b8325e..a22d412483 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -2495,6 +2495,7 @@ void GlobalOptionsDialog::apply() {
error.runModal();
}
+#ifdef USE_TTS
Common::TextToSpeechManager *ttsMan = g_system->getTextToSpeechManager();
if (ttsMan) {
#ifdef USE_TRANSLATION
@@ -2521,6 +2522,7 @@ void GlobalOptionsDialog::apply() {
selectedVoice = ttsMan->getDefaultVoice();
ttsMan->setVoice(selectedVoice);
}
+#endif // USE_TTS
if (isRebuildNeeded) {
g_gui.setLanguageRTL();
More information about the Scummvm-git-logs
mailing list