From 2956e6259b63bbe72db92286a4a3e16d63ebfac5 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 26 Jun 2010 00:06:06 +0000 Subject: Fix for bug #3021473, indicator fill alpha capped at 100. --- macosx/PlatMacOSX.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx') diff --git a/macosx/PlatMacOSX.cxx b/macosx/PlatMacOSX.cxx index d16913d78..8392b97cf 100644 --- a/macosx/PlatMacOSX.cxx +++ b/macosx/PlatMacOSX.cxx @@ -475,7 +475,7 @@ void Scintilla::SurfaceImpl::AlphaRectangle(PRectangle rc, int /*cornerSize*/, C ColourDesired colour( fill.AsLong() ); // Set the Fill color to match - CGContextSetRGBFillColor( gc, colour.GetRed() / 255.0, colour.GetGreen() / 255.0, colour.GetBlue() / 255.0, alphaFill / 100.0 ); + CGContextSetRGBFillColor( gc, colour.GetRed() / 255.0, colour.GetGreen() / 255.0, colour.GetBlue() / 255.0, alphaFill / 255.0 ); CGRect rect = PRectangleToCGRect( rc ); CGContextFillRect( gc, rect ); } -- cgit v1.2.3