diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2012-04-01 14:01:02 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2012-04-01 14:01:02 +0000 |
| commit | 96103f1a7a1516f1137788f6a4e50daba1248b36 (patch) | |
| tree | ca9213cadda5f7518d392adda9cf0bd9ba3b9dfa /src/ui/dialog/guides.cpp | |
| parent | Fix for 627728 : newly-added gradient node by dbl click set active (diff) | |
| download | inkscape-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/ui/dialog/guides.cpp')
| -rw-r--r-- | src/ui/dialog/guides.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/guides.cpp b/src/ui/dialog/guides.cpp index 088290b6f..ce21f9c6e 100644 --- a/src/ui/dialog/guides.cpp +++ b/src/ui/dialog/guides.cpp @@ -71,7 +71,7 @@ void GuidelinePropertiesDialog::showDialog(SPGuide *guide, SPDesktop *desktop) { void GuidelinePropertiesDialog::_colorChanged() { const Gdk::Color c = _color.get_color(); - char r = c.get_red()/257, g = c.get_green()/257, b = c.get_blue()/257; + unsigned r = c.get_red()/257, g = c.get_green()/257, b = c.get_blue()/257; //TODO: why 257? verify this! sp_guide_set_color(*_guide, r, g, b, true); } |
