From b1930c92b12aaf3b6a34d27b577bcaa070919820 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Tue, 6 Mar 2007 23:10:58 +0000 Subject: fix invalid access warning (bzr r2559) --- src/desktop-style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index 4f5ab982e..b29c32f7b 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -476,7 +476,7 @@ objects_query_fillstroke (GSList *objects, SPStyle *style_res, bool const isfill if (paint_res->set && paint_effectively_set && paint->type == SP_PAINT_TYPE_COLOR) { - gfloat d[3]; + gfloat d[4]; sp_color_get_rgb_floatv (&paint->value.color, d); // Check if this color is the same as previous -- cgit v1.2.3