GetFullPathname: add missing termination to the string.
This commit is contained in:
parent
d303dad1fe
commit
40249c6573
|
@ -945,6 +945,7 @@ DWORD WINAPI GetShortPathNameA( LPCSTR longpath, LPSTR shortpath,
|
|||
tmpshortpath[sp] = '\\';
|
||||
sp++;
|
||||
}
|
||||
tmpshortpath[sp]=0;/*terminate string*/
|
||||
lp++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue