Fix for saving the filename when writing to file

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11009 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-09-26 21:58:51 +00:00
parent 9ad5bc7fd1
commit fcbf4d11a9

View file

@ -218,8 +218,10 @@
}
}
if (success && updateFilenamesFlag)
[self setFilename: path];
{
[self setFilename: [path lastPathComponent]];
}
return success;
}