aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-10-25 15:20:19 +0000
committerTorbjörn Andersson2005-10-25 15:20:19 +0000
commit6d5ae3ffdaf75168d928ddbf42c03372c9339e42 (patch)
tree9b8e24e751db46ae38935758cc1a9d7904e290e6 /scumm
parentb9f0c4dcb7895b680030ae821104cceeb476c416 (diff)
downloadscummvm-rg350-6d5ae3ffdaf75168d928ddbf42c03372c9339e42.tar.gz
scummvm-rg350-6d5ae3ffdaf75168d928ddbf42c03372c9339e42.tar.bz2
scummvm-rg350-6d5ae3ffdaf75168d928ddbf42c03372c9339e42.zip
Fixed bug #1337498.
svn-id: r19282
Diffstat (limited to 'scumm')
-rw-r--r--scumm/input.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/input.cpp b/scumm/input.cpp
index 48e9bbe02a..7c499fec0d 100644
--- a/scumm/input.cpp
+++ b/scumm/input.cpp
@@ -453,9 +453,9 @@ void ScummEngine::processKbd(bool smushMode) {
setupVolumes();
} else if (_lastKeyHit == '-' || _lastKeyHit == '+') { // Change text speed
if (_lastKeyHit == '+' && _defaultTalkDelay < 9)
- _defaultTalkDelay--;
- else if (_lastKeyHit == '-' && _defaultTalkDelay > 0)
_defaultTalkDelay++;
+ else if (_lastKeyHit == '-' && _defaultTalkDelay > 0)
+ _defaultTalkDelay--;
// Display the talk speed
ValueDisplayDialog dlg("Talk speed: ", 0, 9, _defaultTalkDelay, '+', '-');