[librsvg/rustification] bbox.rs: Oops, return the correct dst.rect.height
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustification] bbox.rs: Oops, return the correct dst.rect.height
- Date: Wed, 7 Dec 2016 23:05:37 +0000 (UTC)
commit 1516c9075efaa573618f56d3f5e370bda1aa6279
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Dec 7 12:41:25 2016 -0600
bbox.rs: Oops, return the correct dst.rect.height
rust/src/bbox.rs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rust/src/bbox.rs b/rust/src/bbox.rs
index a2ed3da..75a0e55 100644
--- a/rust/src/bbox.rs
+++ b/rust/src/bbox.rs
@@ -152,5 +152,5 @@ pub extern fn rsvg_bbox_clip (raw_dst: *mut RsvgBbox, raw_src: *const RsvgBbox)
dst.rect.x = xmin;
dst.rect.width = xmax - xmin;
dst.rect.y = ymin;
- dst.rect.y = ymax - ymin;
+ dst.rect.height = ymax - ymin;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]