Commit 40249c65 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

GetFullPathname: add missing termination to the string.

parent d303dad1
......@@ -945,6 +945,7 @@ DWORD WINAPI GetShortPathNameA( LPCSTR longpath, LPSTR shortpath,
tmpshortpath[sp] = '\\';
sp++;
}
tmpshortpath[sp]=0;/*terminate string*/
lp++;
continue;
}
......
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