From b85b43a64e3d3d7e623b4bcd99b08ef8f6fc7a43 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Wed, 9 May 2018 21:38:45 +0200 Subject: Reset old code to reaply fixed --- src/xml/repr-io.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/xml/repr-io.cpp') diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index c7b483dcb..2ff9d4776 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -872,10 +872,7 @@ static void sp_repr_write_stream_root_element(Node *repr, Writer &out, if (clean) sp_attribute_clean_tree( repr ); // Sort attributes in a canonical order (helps with "diffing" SVG files). - bool sort = prefs->getBool("/options/svgoutput/disable_optimizations"); - if (!sort) { - sort = prefs->getBool("/options/svgoutput/sort_attributes"); - } + bool sort = prefs->getBool("/options/svgoutput/sort_attributes"); if (sort) sp_attribute_sort_tree( repr ); Glib::QueryQuark xml_prefix=g_quark_from_static_string("xml"); -- cgit v1.2.3