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
This commit is contained in:
parent
ab91077049
commit
0b4f2a9809
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ int NSISCALL validpathspec(char *ubuf)
|
||||||
int NSISCALL is_valid_instpath(char *s)
|
int NSISCALL is_valid_instpath(char *s)
|
||||||
{
|
{
|
||||||
int ivp=0;
|
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);
|
int req=!(inst_flags&CH_FLAGS_NO_ROOT_DIR);
|
||||||
if (*(WORD*)s == CHAR2_TO_WORD('\\','\\')) // \\ path
|
if (*(WORD*)s == CHAR2_TO_WORD('\\','\\')) // \\ path
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue