diff options
Diffstat (limited to 'backends/text-to-speech/windows/windows-text-to-speech.cpp')
-rw-r--r-- | backends/text-to-speech/windows/windows-text-to-speech.cpp | 2 |
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 d0254fccb2..7c8f879189 100644 --- a/backends/text-to-speech/windows/windows-text-to-speech.cpp +++ b/backends/text-to-speech/windows/windows-text-to-speech.cpp @@ -125,7 +125,7 @@ bool WindowsTextToSpeechManager::say(Common::String str, Action action, Common:: str.replace((uint32)0, 0, pitch); WCHAR *strW = Win32::ansiToUnicode(str.c_str(), Win32::getCodePageId(charset)); - if ((isPaused() || isSpeaking()) && action == INTERRUPT) + if ((isPaused() || isSpeaking()) && (action == INTERRUPT || action == INTERRUPT_NO_REPEAT)) stop(); bool result = _voice->Speak(strW, SPF_ASYNC, NULL) != S_OK; |