From: bryce Date: Sun, 4 Feb 2007 21:56:15 +0000 (+0000) Subject: Reverting patch X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b902338102f471045764e6d2e7888adb865dda0b;p=inkscape.git Reverting patch --- diff --git a/src/file.cpp b/src/file.cpp index 0c4941c36..521579d69 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -128,10 +128,7 @@ sp_file_new_default() // the default layer, etc. If you wish to localize this file, please create a // localized share/templates/default.xx.svg file, where xx is your language code. char *default_template = g_build_filename(dirname, _("default.svg"), NULL); - char *user_default_template = g_build_filename(profile_path("templates"), _("default.svg"), NULL); - if (Inkscape::IO::file_test(user_default_template, G_FILE_TEST_IS_REGULAR)) { - return sp_file_new(user_default_template); - } else if (Inkscape::IO::file_test(default_template, G_FILE_TEST_IS_REGULAR)) { + if (Inkscape::IO::file_test(default_template, G_FILE_TEST_IS_REGULAR)) { return sp_file_new(default_template); } }