diff options
Diffstat (limited to 'engines/sherlock/settings.cpp')
-rw-r--r-- | engines/sherlock/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/settings.cpp b/engines/sherlock/settings.cpp index ea4dc56eb2..bf5294f08b 100644 --- a/engines/sherlock/settings.cpp +++ b/engines/sherlock/settings.cpp @@ -143,7 +143,7 @@ int Settings::drawButtons(const Common::Point &pt, int _key) { for (int idx = 0; idx < 12; ++idx) { if ((pt.x > SETUP_POINTS[idx][0] && pt.x < SETUP_POINTS[idx][2] && pt.y > SETUP_POINTS[idx][1] - && pt.y < (SETUP_POINTS[idx][1] + 10) && (events._presed || events._released)) + && pt.y < (SETUP_POINTS[idx][1] + 10) && (events._pressed || events._released)) || (_key == SETUP_NAMES[idx][0])) { found = idx; color = COMMAND_HIGHLIGHTED; |