diff options
Diffstat (limited to 'graphics/librsvg2/files/patch-rsvg-paint-server.c')
-rw-r--r-- | graphics/librsvg2/files/patch-rsvg-paint-server.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/librsvg2/files/patch-rsvg-paint-server.c b/graphics/librsvg2/files/patch-rsvg-paint-server.c new file mode 100644 index 000000000..f6e05c030 --- /dev/null +++ b/graphics/librsvg2/files/patch-rsvg-paint-server.c @@ -0,0 +1,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); |