зеркало из https://github.com/mozilla/pjs.git
OS/2 TB break - need to change true to PR_TRUE and false to PR_FALSE
This commit is contained in:
Родитель
7e93cd88e0
Коммит
6b3384c0ba
|
@ -2916,9 +2916,9 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) {
|
||||||
|
|
||||||
nsStyleStruct* result = nsnull;
|
nsStyleStruct* result = nsnull;
|
||||||
|
|
||||||
static PRBool initialized = false;
|
static PRBool initialized = PR_FALSE;
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
initialized = true;
|
initialized = PR_TRUE;
|
||||||
for (short structType = 0; structType < eStyleStruct_Max; structType++) {
|
for (short structType = 0; structType < eStyleStruct_Max; structType++) {
|
||||||
nsStyleStructID structID = (nsStyleStructID)(structType + 1);
|
nsStyleStructID structID = (nsStyleStructID)(structType + 1);
|
||||||
for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) {
|
for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) {
|
||||||
|
@ -2947,7 +2947,7 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
gStructPointer[structType][structIndex] = structPtr;
|
gStructPointer[structType][structIndex] = structPtr;
|
||||||
gStructBusy[structType][structIndex] = false;
|
gStructBusy[structType][structIndex] = PR_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2956,7 +2956,7 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) {
|
||||||
for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) {
|
for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) {
|
||||||
if (!gStructBusy[structType][structIndex]) {
|
if (!gStructBusy[structType][structIndex]) {
|
||||||
result = gStructPointer[structType][structIndex];
|
result = gStructPointer[structType][structIndex];
|
||||||
gStructBusy[structType][structIndex] = true;
|
gStructBusy[structType][structIndex] = PR_TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2916,9 +2916,9 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) {
|
||||||
|
|
||||||
nsStyleStruct* result = nsnull;
|
nsStyleStruct* result = nsnull;
|
||||||
|
|
||||||
static PRBool initialized = false;
|
static PRBool initialized = PR_FALSE;
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
initialized = true;
|
initialized = PR_TRUE;
|
||||||
for (short structType = 0; structType < eStyleStruct_Max; structType++) {
|
for (short structType = 0; structType < eStyleStruct_Max; structType++) {
|
||||||
nsStyleStructID structID = (nsStyleStructID)(structType + 1);
|
nsStyleStructID structID = (nsStyleStructID)(structType + 1);
|
||||||
for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) {
|
for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) {
|
||||||
|
@ -2947,7 +2947,7 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
gStructPointer[structType][structIndex] = structPtr;
|
gStructPointer[structType][structIndex] = structPtr;
|
||||||
gStructBusy[structType][structIndex] = false;
|
gStructBusy[structType][structIndex] = PR_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2956,7 +2956,7 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) {
|
||||||
for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) {
|
for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) {
|
||||||
if (!gStructBusy[structType][structIndex]) {
|
if (!gStructBusy[structType][structIndex]) {
|
||||||
result = gStructPointer[structType][structIndex];
|
result = gStructPointer[structType][structIndex];
|
||||||
gStructBusy[structType][structIndex] = true;
|
gStructBusy[structType][structIndex] = PR_TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче