Hello list!The following patch improves my previous fix to the -fileName/- setFileName: compatibility code in NSDocument. The patch now ensures that the document's URL is nil if the file name is nil. Note that NSDocument uses [self fileURL] in a few places and checks whether the result is nil or not nil. In addition, the attached patch removes an unnecessary call to - setLastComponentOfFileName: in method -setFileName: (-setFileURL: takes care of this already) and fixes
one place where the local error variable was not assigned in the correctplace in method - writeToURL:ofType:forSaveOperation:originalContentsURL:error:
Wolfgang
NSDocument.patch
Description: Binary data
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
