summaryrefslogtreecommitdiffstats
path: root/src/sp-guide.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-04-01 14:01:02 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2012-04-01 14:01:02 +0000
commit96103f1a7a1516f1137788f6a4e50daba1248b36 (patch)
treeca9213cadda5f7518d392adda9cf0bd9ba3b9dfa /src/sp-guide.cpp
parentFix for 627728 : newly-added gradient node by dbl click set active (diff)
downloadinkscape-96103f1a7a1516f1137788f6a4e50daba1248b36.tar.gz
inkscape-96103f1a7a1516f1137788f6a4e50daba1248b36.zip
fix XML output of guideline color
(this does not fix loading of guide color) Fixed bugs: - https://launchpad.net/bugs/823739 (bzr r11138)
Diffstat (limited to 'src/sp-guide.cpp')
-rw-r--r--src/sp-guide.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp
index 6cdc75c41..6a71cf4f0 100644
--- a/src/sp-guide.cpp
+++ b/src/sp-guide.cpp
@@ -440,7 +440,7 @@ void sp_guide_set_normal(SPGuide &guide, Geom::Point const normal_to_line, bool
*/
}
-void sp_guide_set_color(SPGuide &guide, const unsigned char r, const unsigned char g, const unsigned char b, bool const commit)
+void sp_guide_set_color(SPGuide &guide, const unsigned r, const unsigned g, const unsigned b, bool const commit)
{
g_assert(SP_IS_GUIDE(&guide));
guide.color = (r << 24) | (g << 16) | (b << 8) | 0x7f;