Remove redundant "== true" code
If it can be compared to a boolean, it can be evaluated as one in-place.
This commit is contained in:
parent
ffe94ef4e2
commit
37386f112b
19 changed files with 27 additions and 27 deletions
|
|
@ -2737,7 +2737,7 @@ void OS_Windows::run() {
|
|||
while (!force_quit) {
|
||||
|
||||
process_events(); // get rid of pending events
|
||||
if (Main::iteration() == true)
|
||||
if (Main::iteration())
|
||||
break;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue