From 64ab4616584d38553fd33a2a89211c975e7fe90e Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Mon, 13 Sep 1999 18:24:48 +0000 Subject: [PATCH] make the caret draw on linux - fix for 13487 --- layout/base/nsCaret.cpp | 1 + layout/base/src/nsCaret.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/layout/base/nsCaret.cpp b/layout/base/nsCaret.cpp index 17e705108431..d532be69fde9 100644 --- a/layout/base/nsCaret.cpp +++ b/layout/base/nsCaret.cpp @@ -571,6 +571,7 @@ void nsCaret::DrawCaretWithContext(nsIRenderingContext& inRendContext) inRendContext.SetColor(NS_RGB(85, 85, 85)); // we are drawing it; gray */ + inRendContext.SetColor(NS_RGB(255,255,255)); inRendContext.InvertRect(mCaretRect); } diff --git a/layout/base/src/nsCaret.cpp b/layout/base/src/nsCaret.cpp index 17e705108431..d532be69fde9 100644 --- a/layout/base/src/nsCaret.cpp +++ b/layout/base/src/nsCaret.cpp @@ -571,6 +571,7 @@ void nsCaret::DrawCaretWithContext(nsIRenderingContext& inRendContext) inRendContext.SetColor(NS_RGB(85, 85, 85)); // we are drawing it; gray */ + inRendContext.SetColor(NS_RGB(255,255,255)); inRendContext.InvertRect(mCaretRect); }