Revision: 5145
http://skim-app.svn.sourceforge.net/skim-app/?rev=5145&view=rev
Author: hofman
Date: 2009-01-21 15:14:27 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
use correct pboard type
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2009-01-21 15:14:17 UTC (rev 5144)
+++ trunk/SKPDFView.m 2009-01-21 15:14:27 UTC (rev 5145)
@@ -877,7 +877,7 @@
if ([pboardType isEqualToString:NSStringPboardType])
attrString = [[[NSMutableAttributedString alloc]
initWithString:[pboard stringForType:NSStringPboardType]] autorelease];
else if ([pboardType isEqualToString:NSRTFPboardType])
- attrString = [[[NSMutableAttributedString alloc]
initWithRTF:[pboard dataForType:NSStringPboardType] documentAttributes:NULL]
autorelease];
+ attrString = [[[NSMutableAttributedString alloc]
initWithRTF:[pboard dataForType:NSRTFPboardType] documentAttributes:NULL]
autorelease];
if (isPlainText || [pboardType
isEqualToString:NSStringPboardType]) {
NSString *fontName = [[NSUserDefaults standardUserDefaults]
stringForKey:SKAnchoredNoteFontNameKey];
float fontSize = [[NSUserDefaults standardUserDefaults]
floatForKey:SKAnchoredNoteFontSizeKey];
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit