Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/dlls/kernel32/path.c b/dlls/kernel32/path.c
- index 1cfd850..2067cad 100644
- --- a/dlls/kernel32/path.c
- +++ b/dlls/kernel32/path.c
- @@ -1535,6 +1535,13 @@ BOOL WINAPI SetCurrentDirectoryW( LPCWSTR dir )
- {
- UNICODE_STRING dirW;
- NTSTATUS status;
- +
- + WCHAR *p = (WCHAR *)dir;
- + while (*p) p++;
- + if (*--p == '.') {
- + *p = '\0';
- + FIXME("%s . fixed\n", debugstr_w(dir));
- + }
- RtlInitUnicodeString( &dirW, dir );
- status = RtlSetCurrentDirectory_U( &dirW );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement