From f7e7d1f83fb2c05cf8acbfb980aef44f522c3e52 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 9 Jul 2007 20:46:36 +0000 Subject: [PATCH] Monotone-Parent: a1a349d673dc9306b189e8b017ab7d5af8fdd215 Monotone-Revision: e3d1f353ee2a7aa6c9b0a9b6bd7421b45d774fe9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-07-09T20:46:36 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/NSString+Utilities.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SoObjects/SOGo/NSString+Utilities.m b/SoObjects/SOGo/NSString+Utilities.m index 640c057d6..6a93540dc 100644 --- a/SoObjects/SOGo/NSString+Utilities.m +++ b/SoObjects/SOGo/NSString+Utilities.m @@ -69,7 +69,8 @@ static NSMutableCharacterSet *urlAfterEndingChars = nil; hostR = [self rangeOfString: @"://"]; locationR = [[self substringFromIndex: (hostR.location + hostR.length)] rangeOfString: @"/"]; - newURL = [self substringFromIndex: (hostR.location + hostR.length + locationR.location)]; + newURL = [self substringFromIndex: (hostR.location + hostR.length + + locationR.location)]; } return newURL;