From 84bba82435ff128b5d785a8d992742ec93a44823 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sun, 18 Mar 2007 15:13:57 +0000 Subject: [PATCH] Monotone-Parent: c12384df7b313f197dd027d6c173021b55882245 Monotone-Revision: 467dc56666485b20c968357bff135be6a192df0c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-03-18T15:13:57 Monotone-Branch: ca.inverse.sogo --- UI/SOGoUI/UIxComponent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/SOGoUI/UIxComponent.m b/UI/SOGoUI/UIxComponent.m index 9c179e8b3..52f05e55c 100644 --- a/UI/SOGoUI/UIxComponent.m +++ b/UI/SOGoUI/UIxComponent.m @@ -269,7 +269,7 @@ static BOOL uixDebugEnabled = NO; uri = [uri substringToIndex:r.location]; /* next: strip trailing slash */ - + if ([uri hasSuffix: @"/"]) uri = [uri substringToIndex: ([uri length] - 1)]; r = [uri rangeOfString:@"/" options: NSBackwardsSearch];