From b6194fdecb1996f64b13a44cea894ddaf50871f0 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 26 Feb 2007 09:44:14 +0000 Subject: [PATCH] Fix typo --- src/sp-image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sp-image.cpp b/src/sp-image.cpp index 5f8b15718..0e92a1bcc 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -1053,7 +1053,7 @@ sp_image_repr_read_image (Inkscape::XML::Node * repr) if (pixbuf != NULL) return pixbuf; } else if (!g_path_is_absolute (filename)) { /* try to load from relative pos */ - docbase = sp_repr_document_root (repr->document()->attribute("sodipodi:docbase"); + docbase = sp_repr_document_root (repr->document())->attribute("sodipodi:docbase"); if (!docbase) docbase = "."; fullname = g_build_filename(docbase, filename, NULL); pixbuf = Inkscape::IO::pixbuf_new_from_file( fullname, NULL ); -- 2.30.2