From da9d5eb4dbd9bbd0373aa6ad4a5143e87fc32b4a Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 21 Jul 2003 11:30:57 +0000 Subject: [PATCH] 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 --- Source/exehead/exec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c index ce743c0c..af6e92c7 100644 --- a/Source/exehead/exec.c +++ b/Source/exehead/exec.c @@ -238,12 +238,11 @@ static int NSISCALL ExecuteEntry(entry *entry_) else if (*(WORD*)p == CHAR2_TO_WORD('\\','\\')) { int x; - for (x = 0; x < 2; x ++) + for (x = 0; x < 4; x ++) { while (*p != '\\' && *p) p=CharNext(p); // skip host then share p=CharNext(p); } - } else break; while (c)