Code

fixed: getting pagecolor for bordercolor
authorspeleo3 <speleo3@users.sourceforge.net>
Fri, 12 Dec 2008 14:01:18 +0000 (14:01 +0000)
committerspeleo3 <speleo3@users.sourceforge.net>
Fri, 12 Dec 2008 14:01:18 +0000 (14:01 +0000)
src/document.cpp

index a2923c0864107d9f9b4069f9a14a1497eea448e5..733dadb699c4de17df071134e7af5f4d204f556d 100644 (file)
@@ -325,7 +325,7 @@ sp_document_create(Inkscape::XML::Document *rdoc,
         if (!pagecolor.empty()) {
             rnew->setAttribute("pagecolor", pagecolor.data());
         }
-        Glib::ustring bordercolor = prefs->getString("/template/base/pagecolor");
+        Glib::ustring bordercolor = prefs->getString("/template/base/bordercolor");
         if (!bordercolor.empty()) {
             rnew->setAttribute("bordercolor", bordercolor.data());
         }