diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-05-03 17:14:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-05-03 17:17:45 +0300 |
commit | 3e4863376e47763a1396921977c7277c631d8dff (patch) | |
tree | 80d8fb201f049c4de7a243582ce0c50a1295d279 /intern/ghost/test | |
parent | efe9928545522d217f686de51a748ffcf3466eac (diff) |
Cleanup: use boolean for has_event variable & return value
Diffstat (limited to 'intern/ghost/test')
-rw-r--r-- | intern/ghost/test/gears/GHOST_C-Test.c | 2 | ||||
-rw-r--r-- | intern/ghost/test/multitest/MultiTest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/test/gears/GHOST_C-Test.c b/intern/ghost/test/gears/GHOST_C-Test.c index 4283f990cfb..8cd1b5acb89 100644 --- a/intern/ghost/test/gears/GHOST_C-Test.c +++ b/intern/ghost/test/gears/GHOST_C-Test.c @@ -477,7 +477,7 @@ int main(int argc, char **argv) /* Enter main loop */ while (!sExitRequested) { - if (!GHOST_ProcessEvents(shSystem, 0)) { + if (!GHOST_ProcessEvents(shSystem, false)) { #ifdef WIN32 /* If there were no events, be nice to other applications */ Sleep(10); diff --git a/intern/ghost/test/multitest/MultiTest.c b/intern/ghost/test/multitest/MultiTest.c index 8c8858fc6d8..3b424f1ca89 100644 --- a/intern/ghost/test/multitest/MultiTest.c +++ b/intern/ghost/test/multitest/MultiTest.c @@ -926,7 +926,7 @@ void multitestapp_exit(MultiTestApp *app) void multitestapp_run(MultiTestApp *app) { while (!app->exit) { - GHOST_ProcessEvents(app->sys, 1); + GHOST_ProcessEvents(app->sys, true); GHOST_DispatchEvents(app->sys); } } |