[librsvg: 6/27] Use the node_name for the mask log messages as well




commit 4a7ccd72367ee872e6734c34b401c41dcf2c8573
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Mar 4 19:22:13 2021 -0600

    Use the node_name for the mask log messages as well

 src/drawing_ctx.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/drawing_ctx.rs b/src/drawing_ctx.rs
index fed9dd4d..d41a6fdf 100644
--- a/src/drawing_ctx.rs
+++ b/src/drawing_ctx.rs
@@ -746,7 +746,7 @@ impl DrawingCtx {
                             _ => {
                                 rsvg_log!(
                                     "element {} references \"{}\" which is not a mask",
-                                    node,
+                                    node_name,
                                     node_id
                                 );
                             }
@@ -754,7 +754,7 @@ impl DrawingCtx {
                     } else {
                         rsvg_log!(
                             "element {} references nonexistent mask \"{}\"",
-                            node,
+                            node_name,
                             node_id
                         );
                     }


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