Revision: 2858
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2858&view=rev
Author:   hofman
Date:     2007-09-09 07:11:13 -0700 (Sun, 09 Sep 2007)

Log Message:
-----------
Don't append nil string.

Modified Paths:
--------------
    trunk/SKPDFAnnotationNote.m

Modified: trunk/SKPDFAnnotationNote.m
===================================================================
--- trunk/SKPDFAnnotationNote.m 2007-09-09 14:02:24 UTC (rev 2857)
+++ trunk/SKPDFAnnotationNote.m 2007-09-09 14:11:13 UTC (rev 2858)
@@ -232,7 +232,7 @@
     [string appendString:@"/Type/Annot/Subtype/"];
     [string appendString:[[self type] isEqualToString:@"Note"] ? @"Text" : 
[self type]];
     [string appendString:@"/Contents("];
-    [string appendString:[[self contents] stringByEscapingParenthesis]];
+    [string appendString:[self contents] ? [[self contents] 
stringByEscapingParenthesis] : @""];
     if ([self text]) {
         [string appendString:@"\n"];
         [string appendString:[[[self text] string] 
stringByEscapingParenthesis]];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to