From bb21b145819e999294e711058b26d97e0527a646 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Tue, 18 Mar 2014 19:30:41 +0100 Subject: Fix for Bug #1291546 (Linking color profile from Document properties dialog crashes Inkscape). Fixed bugs: - https://launchpad.net/bugs/1291546 (bzr r13165) --- src/color-profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/color-profile.cpp') diff --git a/src/color-profile.cpp b/src/color-profile.cpp index 09eaa36e5..ed4b9029e 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -339,7 +339,7 @@ void ColorProfile::set(unsigned key, gchar const *value) { Inkscape::URI hrefUri(escaped); //# 3. Resolve the href according the docBase. This follows // the w3c specs. All absolute and relative issues are considered - std::string fullpath = docUri.getFullPath(hrefUri.getFullPath("")); + std::string fullpath = hrefUri.getFullPath(docUri.getFullPath("")); gchar* fullname = g_uri_unescape_string(fullpath.c_str(), ""); this->impl->_clearProfile(); -- cgit v1.2.3