aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
Diffstat (limited to 'simon')
-rw-r--r--simon/verb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/simon/verb.cpp b/simon/verb.cpp
index 21ce1fb591..38334e5c1c 100644
--- a/simon/verb.cpp
+++ b/simon/verb.cpp
@@ -120,9 +120,10 @@ void SimonState::focusVerb(uint hitarea_id)
case 1: verb_prep_names = german_verb_prep_names; break;
default: verb_prep_names = english_verb_prep_names; break;
}
- CHECK_BOUNDS(hitarea_id, verb_prep_names);
+ CHECK_BOUNDS(hitarea_id, english_verb_prep_names);
txt = verb_prep_names[hitarea_id];
} else {
+ CHECK_BOUNDS(hitarea_id, verb_names);
txt = verb_names[hitarea_id];
}
x = (53 - strlen(txt)) * 3;