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