summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-06 23:10:58 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-06 23:10:58 +0000
commitb1930c92b12aaf3b6a34d27b577bcaa070919820 (patch)
tree521b4f381f85ec8cf6b59c1be19217b4e4ec61e0 /src/desktop-style.cpp
parentPurged unused variable (diff)
downloadinkscape-b1930c92b12aaf3b6a34d27b577bcaa070919820.tar.gz
inkscape-b1930c92b12aaf3b6a34d27b577bcaa070919820.zip
fix invalid access warning
(bzr r2559)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp2
1 files changed, 1 insertions, 1 deletions
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