mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
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:
parent
e850d3db44
commit
865c1cf8c8
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue