Get colour from fillColor as only there the alpha value is set.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24733 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-02-28 23:22:34 +00:00
parent 6e1af0cfc0
commit d9595a9f43
2 changed files with 7 additions and 1 deletions

View file

@ -150,7 +150,7 @@
/* Window device isn't set yet */
return;
}
c = *color;
c = fillColor;
gsColorToRGB(&c);
// FIXME: The underlying concept does not allow to determine if alpha is set or not.
if (c.field[AINDEX] > 0.0)