mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 19:01:15 +00:00
use existing ws local variable work shared NSWorkspace
This commit is contained in:
parent
60aca74336
commit
c00d5beaf8
1 changed files with 2 additions and 2 deletions
|
@ -219,8 +219,8 @@
|
|||
}
|
||||
if (viewer != nil)
|
||||
{
|
||||
result = [[NSWorkspace sharedWorkspace] openFile: file
|
||||
withApplication: viewer];
|
||||
result = [ws openFile: file
|
||||
withApplication: viewer];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue