Code

change uint to more portable unsigned int
[inkscape.git] / src / selection.cpp
index 4c99885eb389c16e82d54186614e8d2bd423d5d4..aa77ef89430a09c60c730bd1989a6015d8d9b153 100644 (file)
@@ -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;
 }