diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-07 10:58:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-07 10:58:45 +0200 |
commit | 44d82b3a070b7ed8973d9e8bc6e58da1084fc7d1 (patch) | |
tree | 544ab66de3ef4c6a20f2739decc4e98212c3207a /platform/haiku/haiku_direct_window.cpp | |
parent | c27b2adb10ea7077008d4f8b356e3561d05bad6a (diff) | |
parent | 4f7b33cdcfdcbc11bcc506018dff1b06db3cf3f6 (diff) | |
download | redot-engine-44d82b3a070b7ed8973d9e8bc6e58da1084fc7d1.tar.gz |
Merge pull request #22752 from aaronfranke/equals-redundant
Remove redundant "== true" and "== false" code
Diffstat (limited to 'platform/haiku/haiku_direct_window.cpp')
-rw-r--r-- | platform/haiku/haiku_direct_window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/haiku/haiku_direct_window.cpp b/platform/haiku/haiku_direct_window.cpp index 150e90be65..6b64082250 100644 --- a/platform/haiku/haiku_direct_window.cpp +++ b/platform/haiku/haiku_direct_window.cpp @@ -86,7 +86,7 @@ void HaikuDirectWindow::DirectConnected(direct_buffer_info *info) { void HaikuDirectWindow::MessageReceived(BMessage *message) { switch (message->what) { case REDRAW_MSG: - if (Main::iteration() == true) { + if (Main::iteration()) { view->EnableDirectMode(false); Quit(); } |