From c8cd9669adc61307d398513896501078c923e7b2 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 15 Nov 2019 10:42:07 +0100 Subject: Correct order of stylesheet list insertion (after bug fix to libcroco). --- src/inkscape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 04eb293c8..fa88f035a 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -643,7 +643,7 @@ void Application::readStyleSheets(bool forceupd) for (unsigned i = 0; i < root->childCount(); ++i) { Inkscape::XML::Node *child = root->nthChild(i); if (child && strcmp(child->name(), "svg:style") == 0) { - styles.insert(styles.begin(), child); + styles.push_back(child); } } if (forceupd || styles.size() > 1) { -- cgit v1.2.3