Commits

dergraf83  committed b69f9ef

Fixing generated file name for account files

  • Participants
  • Parent commits e348c0d

Comments (0)

Files changed (1)

File Source/Account.m

         int try = 1;
         NSFileManager *fm = [NSFileManager defaultManager];
         while ([fm fileExistsAtPath: [saveURL path]]) {
-            fileName = [NSString stringWithFormat: @"%@ (%d).sieveAccount", accountName, try];
+            fileName = [NSString stringWithFormat: @"%@ (%d)", accountName, try];
             saveURL = [accountsFolder URLByAppendingPathComponent: [fileName stringByAppendingPathExtension: @"sieveAccount"]];
             ++try;
         }