shell32/tests: On Windows 98 FindExecutable() does not '\0' terminate the returned command which caused many tests to fail.
This commit is contained in:
parent
789fb4c994
commit
1736e7eb76
|
@ -759,6 +759,8 @@ static void test_find_executable(void)
|
|||
c++;
|
||||
}
|
||||
}
|
||||
/* Win98 does not '\0'-terminate command! */
|
||||
memset(command, '\0', sizeof(command));
|
||||
rc=(int)FindExecutableA(filename, NULL, command);
|
||||
if (rc > 32)
|
||||
rc=33;
|
||||
|
|
Loading…
Reference in New Issue