Fix potentially uninitialized color space element when setting fill

and stroke colors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34786 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2012-02-19 18:30:51 +00:00
parent 996c877868
commit 2f611ab26a
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2012-02-19 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/gsc/GSGState.m (-GSSetFillColor:, -GSSetStrokeColor:):
Fix potentially uninitialized color space element when setting
fill and stroke colors.
2012-02-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoGState.m (-compositerect:op:): Use difference

View file

@ -340,6 +340,7 @@
green: &g
blue: &b
alpha: &a];
dcolor.space = rgb_colorspace;
dcolor.field[0] = r;
dcolor.field[1] = g;
dcolor.field[2] = b;
@ -372,6 +373,7 @@
green: &g
blue: &b
alpha: &a];
dcolor.space = rgb_colorspace;
dcolor.field[0] = r;
dcolor.field[1] = g;
dcolor.field[2] = b;