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:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user