blob: f6e05c030dc41e2a0e1392d4db16ae93ff251afb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- rsvg-paint-server.c.orig Tue Jan 25 23:39:10 2005
+++ rsvg-paint-server.c Tue Jan 25 23:39:19 2005
@@ -84,10 +84,10 @@
const RsvgPSCtx *ctx)
{
RsvgPaintServerSolid *z = (RsvgPaintServerSolid *)self;
+ ArtPixMaxDepth color[3];
guint32 rgb = z->rgb;
if (z->currentcolour)
rgb = rsvg_state_current(ctx->ctx)->current_color;
- ArtPixMaxDepth color[3];
color[0] = ART_PIX_MAX_FROM_8 (rgb >> 16);
color[1] = ART_PIX_MAX_FROM_8 ((rgb >> 8) & 0xff);
|