From 0b4f2a9809f469c5cab6317b53979ed99e302e58 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 18 Jun 2003 16:26:47 +0000 Subject: [PATCH] No longer 8, there is a flag with a name now git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2657 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/util.c b/Source/exehead/util.c index 0baf1c48..99be0b89 100644 --- a/Source/exehead/util.c +++ b/Source/exehead/util.c @@ -153,7 +153,7 @@ int NSISCALL validpathspec(char *ubuf) int NSISCALL is_valid_instpath(char *s) { int ivp=0; - // if 8 is set, req is 0, which means rootdirs are not allowed. + // if CH_FLAGS_NO_ROOT_DIR is set, req is 0, which means rootdirs are not allowed. int req=!(inst_flags&CH_FLAGS_NO_ROOT_DIR); if (*(WORD*)s == CHAR2_TO_WORD('\\','\\')) // \\ path {