зеркало из https://github.com/mozilla/pjs.git
fixed build buster; seems VC doesn't know false
This commit is contained in:
Родитель
eed9aa829b
Коммит
e66bd7415a
|
@ -1163,7 +1163,7 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) {
|
||||||
if(0!=strchr(listtags,aChild)) {
|
if(0!=strchr(listtags,aChild)) {
|
||||||
//This code was added to enforce the rule that listitems autoclose prior listitems.
|
//This code was added to enforce the rule that listitems autoclose prior listitems.
|
||||||
//Stylistic tags (including <A>) that get in the way are simply out of luck.
|
//Stylistic tags (including <A>) that get in the way are simply out of luck.
|
||||||
result=false;
|
result=PR_FALSE;
|
||||||
}
|
}
|
||||||
else result=PRBool(0!=strchr(gTagSet1,aChild));
|
else result=PRBool(0!=strchr(gTagSet1,aChild));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1163,7 +1163,7 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) {
|
||||||
if(0!=strchr(listtags,aChild)) {
|
if(0!=strchr(listtags,aChild)) {
|
||||||
//This code was added to enforce the rule that listitems autoclose prior listitems.
|
//This code was added to enforce the rule that listitems autoclose prior listitems.
|
||||||
//Stylistic tags (including <A>) that get in the way are simply out of luck.
|
//Stylistic tags (including <A>) that get in the way are simply out of luck.
|
||||||
result=false;
|
result=PR_FALSE;
|
||||||
}
|
}
|
||||||
else result=PRBool(0!=strchr(gTagSet1,aChild));
|
else result=PRBool(0!=strchr(gTagSet1,aChild));
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче