Revision: 7260
http://skim-app.svn.sourceforge.net/skim-app/?rev=7260&view=rev
Author: hofman
Date: 2011-06-07 17:51:41 +0000 (Tue, 07 Jun 2011)
Log Message:
-----------
really create a URL
Modified Paths:
--------------
trunk/SKApplicationController.m
Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m 2011-06-07 17:49:31 UTC (rev 7259)
+++ trunk/SKApplicationController.m 2011-06-07 17:51:41 UTC (rev 7260)
@@ -402,7 +402,7 @@
if ([theURLString hasPrefix:@"URL:"])
theURLString = [theURLString substringFromIndex:4];
- NSURL *theURL = [NSURL URLWithString:theURLString] ?:
[(id)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)theURLString,
CFSTR("#%"), NULL, kCFStringEncodingUTF8) autorelease];
+ NSURL *theURL = [NSURL URLWithString:theURLString] ?: [NSURL
URLWithString:[(NSString *)CFURLCreateStringByAddingPercentEscapes(NULL,
(CFStringRef)theURLString, CFSTR("#%"), NULL, kCFStringEncodingUTF8)
autorelease]];
if (theURL) {
id document = nil;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit