Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2013-02-04 08:53:06 +0000 (Mon, 04 Feb 2013)
csplugincommon: Fix Graphics2DCommon::GetRGB() extracting negative alpha values. Spotted & patched by Neeno.
--- CS/trunk/include/csplugincommon/canvas/graph2d.h 2013-02-04 08:52:31 UTC (rev 39099)
+++ CS/trunk/include/csplugincommon/canvas/graph2d.h 2013-02-04 08:53:06 UTC (rev 39100)
@@ -158,7 +158,7 @@
virtual void GetRGB (int color, int& r, int& g, int& b, int& a)
- a = 255 - (color >> 24);
+ a = (255 - (color >> 24)) & 0xff;
GetRGB (color, r, g, b);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: