summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index c3cbe531f..10dc1a32c 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -188,7 +188,7 @@ bool SPItem::isHighlightSet() const {
guint32 SPItem::highlight_color() const {
if (_highlightColor)
{
- return atoi(_highlightColor) | 0x000000ff;
+ return atoi(_highlightColor) | 0x00000000;
}
else if (parent && parent != this && SP_IS_ITEM(parent))
{
@@ -197,7 +197,7 @@ guint32 SPItem::highlight_color() const {
else
{
static Inkscape::Preferences *prefs = Inkscape::Preferences::get();
- return prefs->getInt("/tools/nodes/highlight_color", 0xff0000ff) | 0x000000ff;
+ return prefs->getInt("/tools/nodes/highlight_color", 0xff0000ff) | 0x00000000;
}
}