screenshot: fixed parenthesis warning on not operator...

* "logical not is only applied to the left hand side of comparison"
* found with GCC6
This commit is contained in:
Jérôme Duval 2015-07-25 16:22:07 +02:00
parent 5dab45be76
commit b2a0b6323e

View File

@ -308,7 +308,7 @@ Screenshot::_GetActiveWindowFrame()
token = tokens[i];
windowInfo = get_window_info(token);
if (windowInfo && !windowInfo->is_mini
&& !windowInfo->show_hide_level > 0) {
&& !(windowInfo->show_hide_level > 0)) {
foundActiveWindow = true;
break;
}