be ready for coming osx compatibility fix in base

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35389 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-08-10 08:33:03 +00:00
parent ebe55654b2
commit 58fa0b0126
6 changed files with 40 additions and 9 deletions

View file

@ -1336,7 +1336,10 @@ selectCellWithString: (NSString*)title
if (result == NSAlertDefaultReturn)
{
if ([_fm createDirectoryAtPath: filename attributes: nil] == NO)
if ([_fm createDirectoryAtPath: filename
withIntermediateDirectories: YES
attributes: nil
error: NULL] == NO)
{
NSRunAlertPanel(_(@"Save"),
_(@"The directory '%@' could not be created."),