From: buliabyak Date: Tue, 6 Mar 2007 23:10:58 +0000 (+0000) Subject: fix invalid access warning X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f0b207c4980514d56644cfbcd95b854f6d58bb6;p=inkscape.git fix invalid access warning --- 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