summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-04-15 23:08:48 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-04-15 23:08:48 +0000
commit47f4a44585c01befeb6b6ee98b1fbaed87bd1ada (patch)
tree9b5241e2aac1be83e945e24fb6bec8e306aef4bf /src/file.cpp
parentadding composite (diff)
parentFix for Bug #503712 (Personal default template not used) by Slagvi. (diff)
downloadinkscape-47f4a44585c01befeb6b6ee98b1fbaed87bd1ada.tar.gz
inkscape-47f4a44585c01befeb6b6ee98b1fbaed87bd1ada.zip
Halo
(bzr r11950.1.95)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 453ddb546..5b4110253 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -157,8 +157,8 @@ Glib::ustring sp_file_default_template_uri()
baseNames.push_back("default.svg");
gchar *foundTemplate = 0;
- for (std::list<gchar const*>::iterator nameIt = baseNames.begin(); (nameIt != baseNames.end()) && !foundTemplate; ++nameIt) {
- for (std::list<gchar *>::iterator it = sources.begin(); (it != sources.end()) && !foundTemplate; ++it) {
+ for (std::list<gchar *>::iterator it = sources.begin(); (it != sources.end()) && !foundTemplate; ++it) {
+ for (std::list<gchar const*>::iterator nameIt = baseNames.begin(); (nameIt != baseNames.end()) && !foundTemplate; ++nameIt) {
gchar *dirname = *it;
if ( Inkscape::IO::file_test( dirname, (GFileTest)(G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR) ) ) {