Fix unseen count of folders beginning with a digit

Fixes #2652
This commit is contained in:
Francis Lachapelle
2014-03-13 08:41:42 -04:00
parent c8550c8a4a
commit bd577fd513
3 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -640,6 +640,7 @@
NSDictionary *d, *action;
NSMutableArray *folders;
NSMutableString *path;
NSString *component;
SOGoUserDefaults *ud;
NSString *s;
NSUInteger i, j, k;
@@ -676,7 +677,8 @@
for (k = 0; k < [pathComponents count]; k++)
{
[path appendFormat: @"folder%@", [[pathComponents objectAtIndex: k] asCSSIdentifier]];
component = [NSString stringWithFormat: @"folder%@", [pathComponents objectAtIndex: k]];
[path appendString: [component asCSSIdentifier]];
if (k < [pathComponents count] - 1)
[path appendString: @"/"];
}