diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-07 07:17:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-07 07:22:22 +0300 |
commit | 60f0a94ab21c0120c091b3c0369dfff8fa9e2ca8 (patch) | |
tree | e55cb6105d5e05c2644b37d500a9a5e8d93a95f1 /intern/ghost | |
parent | 805ba9fc81d5b30596da52862b02e5ec8cabbad5 (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 5902abf8382..68bac7d153b 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1383,8 +1383,7 @@ bool GHOST_SystemCocoa::handleOpenDocumentRequest(void *filepathStr) // Check open windows if some changes are not saved if (m_windowManager->getAnyModifiedState()) { - @autoreleasepool - { + @autoreleasepool { NSAlert *alert = [[NSAlert alloc] init]; NSString *title = [NSString stringWithFormat:@"Opening %@", [filepath lastPathComponent]]; NSString *text = @"Current document has not been saved.\nDo you really want to proceed?"; |