mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-17 08:01:24 +00:00
fixed a segfault due to return void instead of nil- fix by Sergei Golovin
This commit is contained in:
parent
263106b117
commit
24ede72e4a
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ NSString *PCEditorDidResignActiveNotification =
|
|||
|
||||
/* we don't have in-window editors for any bundles right now */
|
||||
if (!windowed)
|
||||
return;
|
||||
return nil;
|
||||
|
||||
/* Check for bundles and if possible let them be opened by Workspace but only if windowed */
|
||||
app = [[NSWorkspace sharedWorkspace] getBestAppInRole:@"Editor" forExtension:[fileName pathExtension]];
|
||||
|
|
Loading…
Reference in a new issue