summaryrefslogtreecommitdiff
path: root/mailnews/local/src/nsLocalUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mailnews/local/src/nsLocalUtils.cpp')
-rw-r--r--mailnews/local/src/nsLocalUtils.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mailnews/local/src/nsLocalUtils.cpp b/mailnews/local/src/nsLocalUtils.cpp
index 14a6a2f218..352ba9f5ad 100644
--- a/mailnews/local/src/nsLocalUtils.cpp
+++ b/mailnews/local/src/nsLocalUtils.cpp
@@ -150,7 +150,11 @@ nsLocalURI2Path(const char* rootURI, const char* uriStr,
nsCString localNativePath;
+#ifdef XP_WIN
+ localPath->GetPersistentDescriptor(localNativePath);
+#else
localPath->GetNativePath(localNativePath);
+#endif
nsEscapeNativePath(localNativePath);
pathResult = localNativePath.get();
const char *curPos = uriStr + PL_strlen(rootURI);