From fb2823febf92130a86dfd265d478efad4cf59bba Mon Sep 17 00:00:00 2001 From: "bsmedberg%covad.net" Date: Wed, 17 Sep 2003 18:09:25 +0000 Subject: [PATCH] bug 219355 (regression from bug 179834) - XML parsing errors (entity not found) - r=heikki sr=darin git-svn-id: svn://10.0.0.236/trunk@146994 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/nsExpatDriver.cpp | 2 +- mozilla/parser/htmlparser/src/nsExpatDriver.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/htmlparser/src/nsExpatDriver.cpp b/mozilla/htmlparser/src/nsExpatDriver.cpp index 4f5c997c4c7..cdffc4e37a6 100644 --- a/mozilla/htmlparser/src/nsExpatDriver.cpp +++ b/mozilla/htmlparser/src/nsExpatDriver.cpp @@ -269,7 +269,7 @@ IsLoadableDTD(const nsCatalogData* aCatalogData, nsCOMPtr* aDTD) } nsCOMPtr dtdPath; - NS_GetSpecialDirectory(NS_OS_CURRENT_PROCESS_DIR, + NS_GetSpecialDirectory(NS_GRE_DIR, getter_AddRefs(dtdPath)); if (!dtdPath) diff --git a/mozilla/parser/htmlparser/src/nsExpatDriver.cpp b/mozilla/parser/htmlparser/src/nsExpatDriver.cpp index 4f5c997c4c7..cdffc4e37a6 100644 --- a/mozilla/parser/htmlparser/src/nsExpatDriver.cpp +++ b/mozilla/parser/htmlparser/src/nsExpatDriver.cpp @@ -269,7 +269,7 @@ IsLoadableDTD(const nsCatalogData* aCatalogData, nsCOMPtr* aDTD) } nsCOMPtr dtdPath; - NS_GetSpecialDirectory(NS_OS_CURRENT_PROCESS_DIR, + NS_GetSpecialDirectory(NS_GRE_DIR, getter_AddRefs(dtdPath)); if (!dtdPath)