Fixed STR#2921 by adding 2 missing colons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
b5a9c5218a
commit
9dc0f6016c
@ -501,8 +501,8 @@ int Fl_Native_File_Chooser::runmodal()
|
|||||||
}
|
}
|
||||||
if (_directory && !dir) dir = [[NSString alloc] initWithUTF8String:_directory];
|
if (_directory && !dir) dir = [[NSString alloc] initWithUTF8String:_directory];
|
||||||
if (fl_mac_os_version >= 100600) {
|
if (fl_mac_os_version >= 100600) {
|
||||||
if (dir) [(NSSavePanel*)_panel performSelector:@selector(setDirectoryURL) withObject:[NSURL fileURLWithPath:dir]];
|
if (dir) [(NSSavePanel*)_panel performSelector:@selector(setDirectoryURL:) withObject:[NSURL fileURLWithPath:dir]];
|
||||||
if (fname) [(NSSavePanel*)_panel performSelector:@selector(setNameFieldStringValue) withObject:fname];
|
if (fname) [(NSSavePanel*)_panel performSelector:@selector(setNameFieldStringValue:) withObject:fname];
|
||||||
retval = [(NSSavePanel*)_panel runModal];
|
retval = [(NSSavePanel*)_panel runModal];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user