[librsvg: 1/2] Fix cut&paste error for MAX_LOADED_ATTRIBUTES




commit 26070cc17e79a2b2ff0a7413b83a879186315253
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Jul 22 14:46:13 2022 -0500

    Fix cut&paste error for MAX_LOADED_ATTRIBUTES
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/720>

 src/error.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/error.rs b/src/error.rs
index 98dc3bd77..9ec4b3557 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -499,7 +499,7 @@ impl fmt::Display for ImplementationLimit {
             ImplementationLimit::TooManyAttributes => write!(
                 f,
                 "cannot load more than {} XML attributes",
-                limits::MAX_LOADED_ELEMENTS
+                limits::MAX_LOADED_ATTRIBUTES
             ),
         }
     }


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