From 1f126273fa4fd300316c96a2d7bd21729dea2eb7 Mon Sep 17 00:00:00 2001 From: "hangas%netscape.com" Date: Tue, 27 Apr 1999 21:27:17 +0000 Subject: [PATCH] Fixed file path bug on Mac. Was using incorrect constructor that broke when running on Mac. --- mailnews/base/util/nsLocalFolderSummarySpec.cpp | 4 ++-- mailnews/base/util/nsLocalFolderSummarySpec.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mailnews/base/util/nsLocalFolderSummarySpec.cpp b/mailnews/base/util/nsLocalFolderSummarySpec.cpp index c5ebf2b1ecd..8c9656da873 100644 --- a/mailnews/base/util/nsLocalFolderSummarySpec.cpp +++ b/mailnews/base/util/nsLocalFolderSummarySpec.cpp @@ -30,8 +30,8 @@ nsLocalFolderSummarySpec::nsLocalFolderSummarySpec(const char *folderPath, PRBoo CreateSummaryFileName(); } -nsLocalFolderSummarySpec::nsLocalFolderSummarySpec(const nsFileSpec& inFolderPath, PRBool create) -: nsFileSpec(inFolderPath, create) +nsLocalFolderSummarySpec::nsLocalFolderSummarySpec(const nsFileSpec& inFolderPath) +: nsFileSpec(inFolderPath) { CreateSummaryFileName(); } diff --git a/mailnews/base/util/nsLocalFolderSummarySpec.h b/mailnews/base/util/nsLocalFolderSummarySpec.h index 60fe8f6be16..d1f64334379 100644 --- a/mailnews/base/util/nsLocalFolderSummarySpec.h +++ b/mailnews/base/util/nsLocalFolderSummarySpec.h @@ -32,7 +32,7 @@ class nsLocalFolderSummarySpec : public nsFileSpec public: nsLocalFolderSummarySpec(); nsLocalFolderSummarySpec(const char *folderPath, PRBool create = PR_FALSE); - nsLocalFolderSummarySpec(const nsFileSpec& inFolderPath, PRBool create = PR_FALSE); + nsLocalFolderSummarySpec(const nsFileSpec& inFolderPath); nsLocalFolderSummarySpec(const nsFilePath &inFolderPath, PRBool create = PR_FALSE); void SetFolderName(const char *folderPath);