shell32/tests: Completly fix GetAttributesOf test when launched from drive root dir.
This commit is contained in:
parent
3a0eb81cea
commit
1f52f12f3c
|
@ -848,6 +848,8 @@ static void test_GetAttributesOf(void)
|
|||
IMalloc_Free(ppM, newPIDL);
|
||||
|
||||
/* append testdirectory name to path */
|
||||
if (cCurrDirA[len-1] == '\\')
|
||||
cCurrDirA[len-1] = 0;
|
||||
lstrcatA(cCurrDirA, "\\testdir");
|
||||
MultiByteToWideChar(CP_ACP, 0, cCurrDirA, -1, cCurrDirW, MAX_PATH);
|
||||
|
||||
|
|
Loading…
Reference in New Issue