aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/dropdown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/dropdown.cpp')
-rw-r--r--engines/avalanche/dropdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/dropdown.cpp b/engines/avalanche/dropdown.cpp
index 86c4a1d2b9..4c5afe5731 100644
--- a/engines/avalanche/dropdown.cpp
+++ b/engines/avalanche/dropdown.cpp
@@ -338,7 +338,7 @@ void Dropdown::drawMenuText(int16 x, int16 y, char trigger, Common::String text,
_vm->_graphics->drawText(_vm->_graphics->_surface, text, font, 8, x * 8, y, fontColor);
// Underline the selected character.
- if (!text.contains(trigger))
+ if ((trigger == 0) || !text.contains(trigger) )
return;
else {
byte i;