mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Fixed little bug ('cd d:' did't work, but 'cd D:').
svn path=/trunk/; revision=660
This commit is contained in:
parent
0c91339480
commit
bbcc7f9179
1 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue