Fix potential MSVC warning
svn-id: r29292
This commit is contained in:
parent
fc961908c5
commit
3b005ab88f
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue