GetFullPathname: add missing termination to the string.

This commit is contained in:
Uwe Bonnes 2000-05-12 21:45:52 +00:00 committed by Alexandre Julliard
parent d303dad1fe
commit 40249c6573
1 changed files with 1 additions and 0 deletions

View File

@ -945,6 +945,7 @@ DWORD WINAPI GetShortPathNameA( LPCSTR longpath, LPSTR shortpath,
tmpshortpath[sp] = '\\';
sp++;
}
tmpshortpath[sp]=0;/*terminate string*/
lp++;
continue;
}