View | Details | Raw Unified | Return to bug 92899
Collapse All | Expand All

(-)toolkit/xre/nsXREDirProvider.cpp (-1 / +1 lines)
Lines 820-825 Link Here
820
 
820
 
821
  char* appNameFolder = nsnull;
821
  char* appNameFolder = nsnull;
822
  char profileFolderName[MAXPATHLEN] = ".";
822
  char profileFolderName[MAXPATHLEN] = ".";
823
  char temp[MAXPATHLEN];
823
 
824
 
824
  // Offset 1 for the outermost folder to make it hidden (i.e. using the ".")
825
  // Offset 1 for the outermost folder to make it hidden (i.e. using the ".")
825
  char* writing = profileFolderName + 1;
826
  char* writing = profileFolderName + 1;
Lines 829-835 Link Here
829
    rv = localDir->AppendNative(nsDependentCString(profileFolderName));
830
    rv = localDir->AppendNative(nsDependentCString(profileFolderName));
830
    NS_ENSURE_SUCCESS(rv, rv);
831
    NS_ENSURE_SUCCESS(rv, rv);
831
 
832
 
832
    char temp[MAXPATHLEN];
833
    GetProfileFolderName(temp, gAppData->name);
833
    GetProfileFolderName(temp, gAppData->name);
834
    appNameFolder = temp;
834
    appNameFolder = temp;
835
  }
835
  }

Return to bug 92899