mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Only add attachmentFileWrapper to the attachments array if it isn't nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19807 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8b16032c5f
commit
bde5299f6d
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-08-31 14:28 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* TextConverters/RTF/RTFProducer.m (-_addAttributesString:): Only add
|
||||
attachmentFileWrapper to the attachments array if it isn't nil.
|
||||
|
||||
2004-07-30 Adrian Robert <arobert@cogsci.ucsd.edu>
|
||||
|
||||
* Documentation/GuiUser/GNUMakefile.postamble: Remove an unwanted
|
||||
|
|
|
@ -956,7 +956,8 @@
|
|||
|
||||
[attachmentFileWrapper setFilename: attachmentFilename];
|
||||
[attachmentFileWrapper setPreferredFilename: attachmentFilename];
|
||||
[attachments addObject: attachmentFileWrapper];
|
||||
if (attachmentFileWrapper)
|
||||
[attachments addObject: attachmentFileWrapper];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue