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:
kichik 2003-07-21 11:30:57 +00:00
parent 7e6b2794cd
commit da9d5eb4db

View file

@ -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)