Monotone-Parent: c3df23705e1b55a2e006d04494c59dff7bedbbf3

Monotone-Revision: f10b2ee8514da6a0df6edddeb7564568b2064459

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-07-10T21:31:15
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-07-10 21:31:15 +00:00
parent 63f3ff1c59
commit 70461aafc6

View File

@@ -101,12 +101,8 @@ static NSMutableCharacterSet *urlStartChars = nil;
newName = [NSMutableString stringWithString: @"dav"];
components = [[self componentsSeparatedByString: @"-"] objectEnumerator];
component = [components nextObject];
while (component)
{
[newName appendString: [component capitalizedString]];
component = [components nextObject];
}
while ((component = [components nextObject]))
[newName appendString: [component capitalizedString]];
return newName;
}