shell32/tests: Fixed CharLowerBuffA size.
Signed-off-by: Marcus Meissner <marcus@jet.franken.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9ae26670e3
commit
c3e6ecde36
|
@ -1276,7 +1276,7 @@ todo_wine {
|
|||
index = 5000;
|
||||
strcpy(pathA, "user32.dll");
|
||||
hicon = ExtractAssociatedIconA(NULL, pathA, &index);
|
||||
CharLowerBuffA(pathA, -1);
|
||||
CharLowerBuffA(pathA, strlen(pathA));
|
||||
todo_wine {
|
||||
ok(hicon != NULL, "Got icon %p\n", hicon);
|
||||
ok(!!strstr(pathA, "shell32.dll"), "Unexpected path %s\n", pathA);
|
||||
|
@ -1288,7 +1288,7 @@ todo_wine {
|
|||
index = 0xcaca;
|
||||
strcpy(pathA, "dummy.exe");
|
||||
hicon = ExtractAssociatedIconA(NULL, pathA, &index);
|
||||
CharLowerBuffA(pathA, -1);
|
||||
CharLowerBuffA(pathA, strlen(pathA));
|
||||
todo_wine {
|
||||
ok(hicon != NULL, "Got icon %p\n", hicon);
|
||||
ok(!!strstr(pathA, "shell32.dll"), "Unexpected path %s\n", pathA);
|
||||
|
|
Loading…
Reference in New Issue