From e4dd3e2675576f945192fcf9f32bd3bee8a4f1d3 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Sat, 15 Mar 2003 02:27:21 +0000 Subject: [PATCH] OS/2 bustage git-svn-id: svn://10.0.0.236/trunk@139488 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/SpecialSystemDirectory.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/io/SpecialSystemDirectory.cpp b/mozilla/xpcom/io/SpecialSystemDirectory.cpp index 4ef1647ca45..42a34bb9204 100644 --- a/mozilla/xpcom/io/SpecialSystemDirectory.cpp +++ b/mozilla/xpcom/io/SpecialSystemDirectory.cpp @@ -62,6 +62,8 @@ #define MAX_PATH _MAX_PATH #define INCL_WINWORKPLACE +#define INCL_DOSMISC +#define INCL_WINSHELLDATA #include #include #include @@ -292,7 +294,7 @@ GetSpecialSystemDirectory(SystemDirectories aSystemSystemDirectory, &ulBootDrive, sizeof ulBootDrive); buffer[0] = 'A' - 1 + ulBootDrive; // duh, 1-based index... - return NS_NewNativeLocalFile(nsDependentCString(MakeUpperCase(path)), + return NS_NewNativeLocalFile(nsDependentCString(buffer), PR_TRUE, aFile); } @@ -329,7 +331,7 @@ GetSpecialSystemDirectory(SystemDirectories aSystemSystemDirectory, if( c) strcpy( buffer, c); } - return NS_NewNativeLocalFile(nsDependentCString(MakeUpperCase(buffer)), + return NS_NewNativeLocalFile(nsDependentCString(buffer), PR_TRUE, aFile); }