From 7f0b207c4980514d56644cfbcd95b854f6d58bb6 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 6 Mar 2007 23:10:58 +0000 Subject: [PATCH] fix invalid access warning --- src/desktop-style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2