Author: spouliot
Date: 2007-06-21 14:28:41 -0400 (Thu, 21 Jun 2007)
New Revision: 80507
Modified:
trunk/libgdiplus/src/imageattributes.c
Log:
ok, I need more sleep before committing anything else...
Modified: trunk/libgdiplus/src/imageattributes.c
===================================================================
--- trunk/libgdiplus/src/imageattributes.c 2007-06-21 18:24:28 UTC (rev
80506)
+++ trunk/libgdiplus/src/imageattributes.c 2007-06-21 18:28:41 UTC (rev
80507)
@@ -252,7 +252,7 @@
/* remember that Cairo use
pre-multiplied alpha, e.g. 50% red == 0x80800000 not 0x80ff0000 */
a = (BYTE) a_new;
- if (a < 0xff) {
+ if (a_new < 0xff) {
r = pre_multiplied_table [r][a];
g = pre_multiplied_table [g][a];
b = pre_multiplied_table [b][a];
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches