aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2015-06-15 21:13:11 -0400
committerMatthew Hoops2015-06-15 21:13:11 -0400
commit61ef0392b478cf917fa9413e53a829103a245d29 (patch)
tree826d588185cae6c994cc1474c1a4ecc7a7c7a74e
parentcf07fb562dd59c16ae91db5f9c991b8bb114d866 (diff)
downloadscummvm-rg350-61ef0392b478cf917fa9413e53a829103a245d29.tar.gz
scummvm-rg350-61ef0392b478cf917fa9413e53a829103a245d29.tar.bz2
scummvm-rg350-61ef0392b478cf917fa9413e53a829103a245d29.zip
SHERLOCK: Fix conditional with two different enumeration types
-rw-r--r--engines/sherlock/tattoo/widget_verbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/widget_verbs.cpp b/engines/sherlock/tattoo/widget_verbs.cpp
index fead5269f7..a72d05f055 100644
--- a/engines/sherlock/tattoo/widget_verbs.cpp
+++ b/engines/sherlock/tattoo/widget_verbs.cpp
@@ -60,7 +60,7 @@ void WidgetVerbs::highlightVerbControls() {
if (_selector != _oldSelector) {
// Redraw the verb list
for (int idx = 0; idx < (int)_verbCommands.size(); ++idx) {
- byte color = (idx == _selector) ? COMMAND_HIGHLIGHTED : INFO_TOP;
+ byte color = (idx == _selector) ? (byte)COMMAND_HIGHLIGHTED : (byte)INFO_TOP;
_surface.writeString(_verbCommands[idx], Common::Point((_bounds.width() - screen.stringWidth(_verbCommands[idx])) / 2,
(screen.fontHeight() + 7) * idx + 5), color);
}