mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:40:37 +00:00
Fix error appending path components.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25218 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7f736e9a2b
commit
436bd9b029
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-06-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSOpenPanel.m: In -filenames append name to directory using
|
||||
the standard method rather than by concatenating them joined by a
|
||||
slash. Might fix bug #19929 but even if it doesn't cure that, it
|
||||
certainly fixes an error.
|
||||
|
||||
2007-05-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSView.m: ([scrollRect:by:]) restrict scrolled rectangle to
|
||||
|
|
|
@ -385,8 +385,8 @@ static NSOpenPanel *_gs_gui_open_panel = nil;
|
|||
{
|
||||
while ((currCell = [cellEnum nextObject]))
|
||||
{
|
||||
[ret addObject: [NSString stringWithFormat: @"%@/%@", dir,
|
||||
[currCell stringValue]]];
|
||||
[ret addObject:
|
||||
[dir stringByAppendingPathComponent: [currCell stringValue]]];
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue