summaryrefslogtreecommitdiffstats
path: root/src/selection.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2006-01-23 11:16:41 +0000
committercth103 <cth103@users.sourceforge.net>2006-01-23 11:16:41 +0000
commit7788a02134cdcdb937413425971a0176a3898b69 (patch)
tree2242398325ade6df8b431eb412737e164e48f6c6 /src/selection.cpp
parentfix crash when setting letterspacing at the end of a non-tspanned text (diff)
downloadinkscape-7788a02134cdcdb937413425971a0176a3898b69.tar.gz
inkscape-7788a02134cdcdb937413425971a0176a3898b69.zip
Fix a typo in a previous commit. Closes #1401357.
(bzr r20)
Diffstat (limited to 'src/selection.cpp')
-rw-r--r--src/selection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection.cpp b/src/selection.cpp
index 4c99885eb..aa77ef894 100644
--- a/src/selection.cpp
+++ b/src/selection.cpp
@@ -290,7 +290,7 @@ NRRect *Selection::bounds(NRRect *bbox) const
bbox->x0 = b.min()[NR::X];
bbox->y0 = b.min()[NR::Y];
bbox->x1 = b.max()[NR::X];
- bbox->x1 = b.max()[NR::Y];
+ bbox->y1 = b.max()[NR::Y];
return bbox;
}