make the caret draw on linux - fix for 13487

This commit is contained in:
pavlov%netscape.com 1999-09-13 18:24:48 +00:00
parent 3e559186f3
commit 64ab461658
2 changed files with 2 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}