[librsvg: 19/20] Remove superfluous reference




commit d8d4fd6149244f1745509bef3455ebb75dc9251b
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Oct 20 19:13:42 2021 -0500

    Remove superfluous reference
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/616>

 src/text.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/text.rs b/src/text.rs
index bbd2d539..f717852f 100644
--- a/src/text.rs
+++ b/src/text.rs
@@ -268,7 +268,7 @@ fn compute_baseline_offset(
     params: &NormalizeParams,
 ) -> f64 {
     let baseline = f64::from(layout.baseline()) / f64::from(pango::SCALE);
-    let baseline_shift = values.baseline_shift().0.to_user(&params);
+    let baseline_shift = values.baseline_shift().0.to_user(params);
     baseline + baseline_shift
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]