Code style fixes
This commit is contained in:
parent
276e12ce71
commit
7e0593950c
10 changed files with 56 additions and 57 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue