Commit 75240197 authored by Alexandre Julliard's avatar Alexandre Julliard

shell32/tests: Use the original path if GetLongPathNameA fails.

parent 8e2684fe
......@@ -540,7 +540,7 @@ static void test_load_save(void)
*p='\0';
/* IShellLink returns path in long form */
pGetLongPathNameA(mypath, realpath, MAX_PATH);
if (!pGetLongPathNameA(mypath, realpath, MAX_PATH)) strcpy( realpath, mypath );
/* Overwrite the existing lnk file and point it to existing files */
desc.description="test 2";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment