diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2018-10-03 13:40:37 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2018-10-06 16:12:36 -0400 |
commit | 37386f112bafa9c4e94c342f6d5f04392a5623f7 (patch) | |
tree | 23870a98dd815447693154dedcb054e88a20e694 /platform/uwp/os_uwp.cpp | |
parent | ffe94ef4e2dc28e69337f53f58d0fa60e23607a8 (diff) | |
download | redot-engine-37386f112bafa9c4e94c342f6d5f04392a5623f7.tar.gz |
Remove redundant "== true" code
If it can be compared to a boolean, it can be evaluated as one in-place.
Diffstat (limited to 'platform/uwp/os_uwp.cpp')
-rw-r--r-- | platform/uwp/os_uwp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/os_uwp.cpp b/platform/uwp/os_uwp.cpp index f489c0894f..6410378593 100644 --- a/platform/uwp/os_uwp.cpp +++ b/platform/uwp/os_uwp.cpp @@ -864,7 +864,7 @@ void OSUWP::run() { CoreWindow::GetForCurrentThread()->Dispatcher->ProcessEvents(CoreProcessEventsOption::ProcessAllIfPresent); if (managed_object->alert_close_handle) continue; process_events(); // get rid of pending events - if (Main::iteration() == true) + if (Main::iteration()) break; }; |