Fixed little bug ('cd d:' did't work, but 'cd D:').

svn path=/trunk/; revision=660
This commit is contained in:
Eric Kohl 1999-09-12 20:41:56 +00:00
parent 0c91339480
commit bbcc7f9179

View file

@ -15,7 +15,7 @@
#include <ctype.h>
#include <string.h>
#define NDEBUG
//#define NDEBUG
#include <kernel32/kernel32.h>
/* GLOBALS *******************************************************************/
@ -146,6 +146,9 @@ WINBOOL STDCALL SetCurrentDirectoryW(LPCWSTR lpPathName)
return FALSE;
}
/* Drive letter MUST be capitalized */
PathName[0] = towupper (PathName[0]);
DPRINT("PathName %w\n",PathName);
hDir = CreateFileW(PathName,