From 4bcb58cc9fb957235b5dc92c55c6a0e4c203733b Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 8 Jul 2010 12:43:33 +0200 Subject: Properly parse QXLLineAttrs.style --- common/gdi_canvas.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/gdi_canvas.c') diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c index 9c52002..845ddd5 100644 --- a/common/gdi_canvas.c +++ b/common/gdi_canvas.c @@ -1590,9 +1590,8 @@ static void gdi_canvas_draw_text(SpiceCanvas *spice_canvas, SpiceRect *bbox, Spi } } -static uint32_t *gdi_get_userstyle(GdiCanvas *canvas, uint8_t nseg, SPICE_ADDRESS addr, int start_is_gap) +static uint32_t *gdi_get_userstyle(GdiCanvas *canvas, uint8_t nseg, SPICE_FIXED28_4* style, int start_is_gap) { - SPICE_FIXED28_4* style = (SPICE_FIXED28_4*)SPICE_GET_ADDRESS(addr); double offset = 0; uint32_t *local_style; int i; -- cgit