a empty string can be caused by a path like "\boot.ini", so support that as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5439 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
10207d5c0b
commit
9676bb54cd
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ void NSISCALL myDelete(char *buf, int flags)
|
|||
trimslashtoend(buf);
|
||||
|
||||
// only append backslash if the path isn't relative to the working directory [bug #1851273]
|
||||
if (*buf)
|
||||
if (*buf || *lbuf == '\\')
|
||||
mystrcat(buf,"\\");
|
||||
|
||||
fn=buf+mystrlen(buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue