diff options
author | Eugene Sandulenko | 2007-10-28 16:10:05 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-10-28 16:10:05 +0000 |
commit | 3b005ab88fd974e453a752b3ece26e2b9538bede (patch) | |
tree | b71ae88ee5da28258fb7f3905eb7f3ba841fc7f6 | |
parent | fc961908c59790840008049a1d97e675376312f9 (diff) | |
download | scummvm-rg350-3b005ab88fd974e453a752b3ece26e2b9538bede.tar.gz scummvm-rg350-3b005ab88fd974e453a752b3ece26e2b9538bede.tar.bz2 scummvm-rg350-3b005ab88fd974e453a752b3ece26e2b9538bede.zip |
Fix potential MSVC warning
svn-id: r29292
-rw-r--r-- | gui/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index 62d8f8eef5..893128ce1e 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -137,7 +137,7 @@ bool Widget::isEnabled() const { if (g_gui.evaluator()->getVar(_name + ".enabled") == 0) { return false; } - return _flags & WIDGET_ENABLED; + return ((_flags & WIDGET_ENABLED) != 0); } bool Widget::isVisible() const { |