From 96103f1a7a1516f1137788f6a4e50daba1248b36 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sun, 1 Apr 2012 16:01:02 +0200 Subject: fix XML output of guideline color (this does not fix loading of guide color) Fixed bugs: - https://launchpad.net/bugs/823739 (bzr r11138) --- src/sp-guide.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-guide.cpp') 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; -- cgit v1.2.3