From 059352bad657092b7284487831c1354089ff8a42 Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Tue, 27 Aug 2002 07:34:41 +0000 Subject: [PATCH] Not all c++ compilers support true. Use PR_TRUE instead. Fixing OS/2 tinderbox bustage. git-svn-id: svn://10.0.0.236/trunk@128238 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/forms/nsTextControlFrame.cpp | 2 +- mozilla/layout/html/forms/src/nsTextControlFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/forms/nsTextControlFrame.cpp b/mozilla/layout/forms/nsTextControlFrame.cpp index bde5b2b4977..c844bfeb6fa 100644 --- a/mozilla/layout/forms/nsTextControlFrame.cpp +++ b/mozilla/layout/forms/nsTextControlFrame.cpp @@ -890,7 +890,7 @@ nsTextInputSelectionImpl::PageMove(PRBool aForward, PRBool aExtend) CommonPageMove(aForward, aExtend, scrollableView, this); } - return ScrollSelectionIntoView(nsISelectionController::SELECTION_NORMAL, nsISelectionController::SELECTION_FOCUS_REGION, true); + return ScrollSelectionIntoView(nsISelectionController::SELECTION_NORMAL, nsISelectionController::SELECTION_FOCUS_REGION, PR_TRUE); } NS_IMETHODIMP diff --git a/mozilla/layout/html/forms/src/nsTextControlFrame.cpp b/mozilla/layout/html/forms/src/nsTextControlFrame.cpp index bde5b2b4977..c844bfeb6fa 100644 --- a/mozilla/layout/html/forms/src/nsTextControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsTextControlFrame.cpp @@ -890,7 +890,7 @@ nsTextInputSelectionImpl::PageMove(PRBool aForward, PRBool aExtend) CommonPageMove(aForward, aExtend, scrollableView, this); } - return ScrollSelectionIntoView(nsISelectionController::SELECTION_NORMAL, nsISelectionController::SELECTION_FOCUS_REGION, true); + return ScrollSelectionIntoView(nsISelectionController::SELECTION_NORMAL, nsISelectionController::SELECTION_FOCUS_REGION, PR_TRUE); } NS_IMETHODIMP