summaryrefslogtreecommitdiffstats
path: root/src/selcue.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-04-14 02:30:34 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-04-14 02:30:34 +0000
commit9b669e9ed07df227f516c8af01344cd17ea5a670 (patch)
tree7292839e65becdd9f23158087a52fb0ed480237d /src/selcue.cpp
parentSwitched circle toobar to stock GTK+ toolbars (diff)
downloadinkscape-9b669e9ed07df227f516c8af01344cd17ea5a670.tar.gz
inkscape-9b669e9ed07df227f516c8af01344cd17ea5a670.zip
change the logic so that the value is correctly read at launch of seltrans, and approximate is the default for continuity
(bzr r2883)
Diffstat (limited to 'src/selcue.cpp')
-rw-r--r--src/selcue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selcue.cpp b/src/selcue.cpp
index 1831e8b54..5a831d831 100644
--- a/src/selcue.cpp
+++ b/src/selcue.cpp
@@ -79,7 +79,7 @@ void Inkscape::SelCue::_updateItemBboxes()
SPItem *item = (SPItem *) l->data;
gchar const *prefs_bbox = prefs_get_string_attribute("tools.select", "bounding_box");
- SPItem::BBoxType bbox_type = (prefs_bbox == NULL || strcmp(prefs_bbox, "geometric")==0)? SPItem::GEOMETRIC_BBOX : SPItem::APPROXIMATE_BBOX;
+ SPItem::BBoxType bbox_type = (prefs_bbox != NULL && strcmp(prefs_bbox, "geometric")==0)? SPItem::GEOMETRIC_BBOX : SPItem::APPROXIMATE_BBOX;
NR::Maybe<NR::Rect> const b = sp_item_bbox_desktop(item, bbox_type);