mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:55:41 +00:00
[ADVPACK_WINETEST] Sync with Wine Staging 3.17. CORE-15127
This commit is contained in:
parent
0df75d9648
commit
d1060f20d6
1 changed files with 2 additions and 2 deletions
|
@ -134,8 +134,8 @@ static void delnode_test(void)
|
|||
|
||||
/* Native DelNode apparently does not support relative paths, so we use
|
||||
absolute paths for testing */
|
||||
currDirLen = GetCurrentDirectoryA(sizeof(currDir) / sizeof(CHAR), currDir);
|
||||
assert(currDirLen > 0 && currDirLen < sizeof(currDir) / sizeof(CHAR));
|
||||
currDirLen = GetCurrentDirectoryA(ARRAY_SIZE(currDir), currDir);
|
||||
assert(currDirLen > 0 && currDirLen < ARRAY_SIZE(currDir));
|
||||
|
||||
if(currDir[currDirLen - 1] == '\\')
|
||||
currDir[--currDirLen] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue