aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/supernova/state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index f50d665000..fa53b5e7c2 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -247,8 +247,8 @@ void GuiElement::setColor(int bgColor, int textColor, int bgColorHighlighted, in
_textColorHighlighted = textColorHightlighted;
}
-void GuiElement::setHighlight(bool isHighlighted) {
- if (isHighlighted) {
+void GuiElement::setHighlight(bool isHighlighted_) {
+ if (isHighlighted_) {
_bgColor = _bgColorHighlighted;
_textColor = _textColorHighlighted;
} else {