Fixed error flag when creating directories with UNC paths
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2761 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7e6b2794cd
commit
da9d5eb4db
1 changed files with 1 additions and 2 deletions
|
@ -238,12 +238,11 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
||||||
else if (*(WORD*)p == CHAR2_TO_WORD('\\','\\'))
|
else if (*(WORD*)p == CHAR2_TO_WORD('\\','\\'))
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
for (x = 0; x < 2; x ++)
|
for (x = 0; x < 4; x ++)
|
||||||
{
|
{
|
||||||
while (*p != '\\' && *p) p=CharNext(p); // skip host then share
|
while (*p != '\\' && *p) p=CharNext(p); // skip host then share
|
||||||
p=CharNext(p);
|
p=CharNext(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else break;
|
else break;
|
||||||
while (c)
|
while (c)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue