Code style fixes

This commit is contained in:
Cheng Zhao 2017-11-13 16:13:54 +09:00
parent 276e12ce71
commit 7e0593950c
10 changed files with 56 additions and 57 deletions

View file

@ -147,7 +147,7 @@ int ShowMessageBox(NativeWindow* parent_window,
// Use runModal for synchronous alert without parent, since we don't have a
// window to wait for.
if (!parent_window || !parent_window->GetNativeWindow() ||
parent_window->IsOffScreenDummy())
parent_window->is_offscreen_dummy())
return [[alert autorelease] runModal];
int ret_code = -1;
@ -186,7 +186,7 @@ void ShowMessageBox(NativeWindow* parent_window,
// Use runModal for synchronous alert without parent, since we don't have a
// window to wait for.
if (!parent_window || !parent_window->GetNativeWindow() ||
parent_window->IsOffScreenDummy()) {
parent_window->is_offscreen_dummy()) {
int ret = [[alert autorelease] runModal];
callback.Run(ret, false);
} else {