Revision: 2910
http://skim-app.svn.sourceforge.net/skim-app/?rev=2910&view=rev
Author: hofman
Date: 2007-09-12 09:35:19 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
Check if we have the correct number of file ID strings.
Modified Paths:
--------------
trunk/SKDocument.m
Modified: trunk/SKDocument.m
===================================================================
--- trunk/SKDocument.m 2007-09-12 16:33:23 UTC (rev 2909)
+++ trunk/SKDocument.m 2007-09-12 16:35:19 UTC (rev 2910)
@@ -1384,7 +1384,7 @@
[annots appendFormat:@"%i 0 R ", i + 1];
}
[string appendFormat:@"%i 0 obj<</FDF<</[EMAIL PROTECTED]/F(%@)", i + 1,
annots, filename ? [filename stringByEscapingParenthesis] : @""];
- if (fileIDStrings)
+ if ([fileIDStrings count] == 2)
[string appendFormat:@"/ID[<%@><%@>]", [fileIDStrings
objectAtIndex:0], [fileIDStrings objectAtIndex:1]];
[string appendFormat:@">>>>\nendobj\ntrailer\n<</Root %i 0 R>>\n%%EOF\n",
i + 1];
return string;
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