From 6b3384c0ba97f75f1521fbb4d83b3289a6b91030 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Thu, 3 May 2001 16:09:42 +0000 Subject: [PATCH] OS/2 TB break - need to change true to PR_TRUE and false to PR_FALSE --- content/base/src/nsStyleContext.cpp | 8 ++++---- layout/style/nsStyleContext.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/base/src/nsStyleContext.cpp b/content/base/src/nsStyleContext.cpp index f542c9a5ba9..97e15d70c4e 100644 --- a/content/base/src/nsStyleContext.cpp +++ b/content/base/src/nsStyleContext.cpp @@ -2916,9 +2916,9 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) { nsStyleStruct* result = nsnull; - static PRBool initialized = false; + static PRBool initialized = PR_FALSE; if (!initialized) { - initialized = true; + initialized = PR_TRUE; for (short structType = 0; structType < eStyleStruct_Max; structType++) { nsStyleStructID structID = (nsStyleStructID)(structType + 1); for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) { @@ -2947,7 +2947,7 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) { break; } 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++) { if (!gStructBusy[structType][structIndex]) { result = gStructPointer[structType][structIndex]; - gStructBusy[structType][structIndex] = true; + gStructBusy[structType][structIndex] = PR_TRUE; break; } } diff --git a/layout/style/nsStyleContext.cpp b/layout/style/nsStyleContext.cpp index f542c9a5ba9..97e15d70c4e 100644 --- a/layout/style/nsStyleContext.cpp +++ b/layout/style/nsStyleContext.cpp @@ -2916,9 +2916,9 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) { nsStyleStruct* result = nsnull; - static PRBool initialized = false; + static PRBool initialized = PR_FALSE; if (!initialized) { - initialized = true; + initialized = PR_TRUE; for (short structType = 0; structType < eStyleStruct_Max; structType++) { nsStyleStructID structID = (nsStyleStructID)(structType + 1); for (short structIndex = 0; structIndex < kStructIndexMax; structIndex++) { @@ -2947,7 +2947,7 @@ static nsStyleStruct* GetNewMutableStyleStruct(nsStyleStructID aSID) { break; } 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++) { if (!gStructBusy[structType][structIndex]) { result = gStructPointer[structType][structIndex]; - gStructBusy[structType][structIndex] = true; + gStructBusy[structType][structIndex] = PR_TRUE; break; } }