From 28e11c285f078e43d57a823434c006072d903a32 Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Sun, 16 Jan 2000 17:06:08 +0000 Subject: [PATCH] build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls --- .../html/content/src/nsHTMLInputElement.cpp | 8 +++---- .../html/content/src/nsHTMLInputElement.cpp | 8 +++---- layout/xul/base/src/nsMenuFrame.cpp | 24 +++++++++---------- layout/xul/base/src/nsPopupSetFrame.cpp | 16 ++++++------- layout/xul/base/src/nsTitledButtonFrame.cpp | 8 +++---- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/content/html/content/src/nsHTMLInputElement.cpp b/content/html/content/src/nsHTMLInputElement.cpp index ac66960da13c..d233d23e7dde 100644 --- a/content/html/content/src/nsHTMLInputElement.cpp +++ b/content/html/content/src/nsHTMLInputElement.cpp @@ -669,10 +669,10 @@ nsHTMLInputElement::Click() nsMouseEvent event; event.eventStructType = NS_GUI_EVENT; event.message = NS_MOUSE_LEFT_CLICK; - event.isShift = false; - event.isControl = false; - event.isAlt = false; - event.isMeta = false; + event.isShift = PR_FALSE; + event.isControl = PR_FALSE; + event.isAlt = PR_FALSE; + event.isMeta = PR_FALSE; event.clickCount = 0; event.widget = nsnull; rv = HandleDOMEvent(context, &event, nsnull, NS_EVENT_FLAG_INIT, &status); diff --git a/layout/html/content/src/nsHTMLInputElement.cpp b/layout/html/content/src/nsHTMLInputElement.cpp index ac66960da13c..d233d23e7dde 100644 --- a/layout/html/content/src/nsHTMLInputElement.cpp +++ b/layout/html/content/src/nsHTMLInputElement.cpp @@ -669,10 +669,10 @@ nsHTMLInputElement::Click() nsMouseEvent event; event.eventStructType = NS_GUI_EVENT; event.message = NS_MOUSE_LEFT_CLICK; - event.isShift = false; - event.isControl = false; - event.isAlt = false; - event.isMeta = false; + event.isShift = PR_FALSE; + event.isControl = PR_FALSE; + event.isAlt = PR_FALSE; + event.isMeta = PR_FALSE; event.clickCount = 0; event.widget = nsnull; rv = HandleDOMEvent(context, &event, nsnull, NS_EVENT_FLAG_INIT, &status); diff --git a/layout/xul/base/src/nsMenuFrame.cpp b/layout/xul/base/src/nsMenuFrame.cpp index 27b85b4113c0..d54a8b35a685 100644 --- a/layout/xul/base/src/nsMenuFrame.cpp +++ b/layout/xul/base/src/nsMenuFrame.cpp @@ -1231,10 +1231,10 @@ nsMenuFrame::Execute() nsMouseEvent event; event.eventStructType = NS_EVENT; event.message = NS_MENU_ACTION; - event.isShift = false; - event.isControl = false; - event.isAlt = false; - event.isMeta = false; + event.isShift = PR_FALSE; + event.isControl = PR_FALSE; + event.isAlt = PR_FALSE; + event.isMeta = PR_FALSE; event.clickCount = 0; event.widget = nsnull; mContent->HandleDOMEvent(mPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, &status); @@ -1261,10 +1261,10 @@ nsMenuFrame::OnCreate() nsMouseEvent event; event.eventStructType = NS_EVENT; event.message = NS_MENU_CREATE; - event.isShift = false; - event.isControl = false; - event.isAlt = false; - event.isMeta = false; + event.isShift = PR_FALSE; + event.isControl = PR_FALSE; + event.isAlt = PR_FALSE; + event.isMeta = PR_FALSE; event.clickCount = 0; event.widget = nsnull; @@ -1288,10 +1288,10 @@ nsMenuFrame::OnDestroy() nsMouseEvent event; event.eventStructType = NS_EVENT; event.message = NS_MENU_DESTROY; - event.isShift = false; - event.isControl = false; - event.isAlt = false; - event.isMeta = false; + event.isShift = PR_FALSE; + event.isControl = PR_FALSE; + event.isAlt = PR_FALSE; + event.isMeta = PR_FALSE; event.clickCount = 0; event.widget = nsnull; diff --git a/layout/xul/base/src/nsPopupSetFrame.cpp b/layout/xul/base/src/nsPopupSetFrame.cpp index e7dfe860b265..0d1f88facc36 100644 --- a/layout/xul/base/src/nsPopupSetFrame.cpp +++ b/layout/xul/base/src/nsPopupSetFrame.cpp @@ -503,10 +503,10 @@ nsPopupSetFrame::OnCreate(nsIContent* aPopupContent) nsMouseEvent event; event.eventStructType = NS_EVENT; event.message = NS_MENU_CREATE; - event.isShift = false; - event.isControl = false; - event.isAlt = false; - event.isMeta = false; + event.isShift = PR_FALSE; + event.isControl = PR_FALSE; + event.isAlt = PR_FALSE; + event.isMeta = PR_FALSE; event.clickCount = 0; event.widget = nsnull; @@ -526,10 +526,10 @@ nsPopupSetFrame::OnDestroy() nsMouseEvent event; event.eventStructType = NS_EVENT; event.message = NS_MENU_DESTROY; - event.isShift = false; - event.isControl = false; - event.isAlt = false; - event.isMeta = false; + event.isShift = PR_FALSE; + event.isControl = PR_FALSE; + event.isAlt = PR_FALSE; + event.isMeta = PR_FALSE; event.clickCount = 0; event.widget = nsnull; diff --git a/layout/xul/base/src/nsTitledButtonFrame.cpp b/layout/xul/base/src/nsTitledButtonFrame.cpp index 2b4c695a777c..7324574c8dd1 100644 --- a/layout/xul/base/src/nsTitledButtonFrame.cpp +++ b/layout/xul/base/src/nsTitledButtonFrame.cpp @@ -1252,10 +1252,10 @@ nsTitledButtonFrame::MouseClicked (nsIPresContext* aPresContext) nsMouseEvent event; event.eventStructType = NS_EVENT; event.message = NS_MENU_ACTION; - event.isShift = false; - event.isControl = false; - event.isAlt = false; - event.isMeta = false; + event.isShift = PR_FALSE; + event.isControl = PR_FALSE; + event.isAlt = PR_FALSE; + event.isMeta = PR_FALSE; event.clickCount = 0; event.widget = nsnull; mContent->HandleDOMEvent(aPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, &status);