fixed bug #1851273 - relative path Delete doesn't work
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5395 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0734725a3e
commit
916d3ea3a2
1 changed files with 3 additions and 1 deletions
|
@ -139,7 +139,9 @@ void NSISCALL myDelete(char *buf, int flags)
|
|||
#endif//NSIS_SUPPORT_RMDIR
|
||||
trimslashtoend(buf);
|
||||
|
||||
mystrcat(buf,"\\");
|
||||
// only append backslash if the path isn't relative to the working directory [bug #1851273]
|
||||
if (*buf)
|
||||
mystrcat(buf,"\\");
|
||||
|
||||
fn=buf+mystrlen(buf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue