summaryrefslogtreecommitdiffstats
path: root/src/snapped-line.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-11-25 20:51:17 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-11-25 20:51:17 +0000
commit0bd9f7e209d522dbcebe0449a91397fdd9e38977 (patch)
tree834c7d02456658b57625ab68cc28f7854a5a85dc /src/snapped-line.cpp
parentFix handling of x and y attributes of patterns (diff)
parentFix ruler redraw issue on GTK 2.22 (diff)
downloadinkscape-0bd9f7e209d522dbcebe0449a91397fdd9e38977.tar.gz
inkscape-0bd9f7e209d522dbcebe0449a91397fdd9e38977.zip
Merge from trunk
(bzr r9508.1.70)
Diffstat (limited to 'src/snapped-line.cpp')
-rw-r--r--src/snapped-line.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snapped-line.cpp b/src/snapped-line.cpp
index 4b6a25929..525208f06 100644
--- a/src/snapped-line.cpp
+++ b/src/snapped-line.cpp
@@ -33,7 +33,7 @@ Inkscape::SnappedLineSegment::SnappedLineSegment()
_end_point_of_line = Geom::Point(0,0);
_point = Geom::Point(0,0);
_source = SNAPSOURCE_UNDEFINED;
- _source_num = 0;
+ _source_num = -1;
_target = SNAPTARGET_UNDEFINED;
_distance = Geom::infinity();
_tolerance = 1;
@@ -111,7 +111,7 @@ Inkscape::SnappedLine::SnappedLine()
_normal_to_line = Geom::Point(0,0);
_point_on_line = Geom::Point(0,0);
_source = SNAPSOURCE_UNDEFINED;
- _source_num = 0;
+ _source_num = -1;
_target = SNAPTARGET_UNDEFINED;
_distance = Geom::infinity();
_tolerance = 1;