diff --git a/src/file.cpp b/src/file.cpp
index acc6e101a8222aee149055ae6b4c255c65192f3e..d42abbff686681864b005d6c80bdabc954a18d36 100644 (file)
--- a/src/file.cpp
+++ b/src/file.cpp
char *default_template = g_build_filename(dirname, _("default.svg"), NULL);
if (Inkscape::IO::file_test(default_template, G_FILE_TEST_IS_REGULAR)) {
return sp_file_new(default_template);
- }
+ }
}
g_free(dirname);
sources.pop_front();
@@ -180,7 +180,7 @@ sp_file_open(gchar const *uri, Inkscape::Extension::Extension *key, bool add_to_
if (doc) {
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
SPDocument *existing = desktop ? SP_DT_DOCUMENT(desktop) : NULL;
-
+
if (existing && existing->virgin && replace_empty) {
// If the current desktop is empty, open the document there
desktop->change_document(doc);
@@ -194,7 +194,7 @@ sp_file_open(gchar const *uri, Inkscape::Extension::Extension *key, bool add_to_
desktop = Inkscape::NSApplication::Editor::createDesktop (doc);
}
}
-
+
doc->virgin = FALSE;
// everyone who cares now has a reference, get rid of ours
sp_document_unref(doc);
{
#ifdef INK_DUMP_FILENAME_CONV
- g_message(" FileName: %s",(const char *)list->data);
+ g_message(" FileName: %s",(const char *)list->data);
#endif
fileName=(gchar *)g_strdup((gchar *)list->data);
g_warning( "ERROR CONVERTING OPEN FILENAME TO UTF-8" );
}
-#ifdef INK_DUMP_FILENAME_CONV
+#ifdef INK_DUMP_FILENAME_CONV
g_message("Opening File %s\n",fileName);
#endif
{
g_message("Cannot Open Directory %s\n",fileName);
}
-
+
list=list->next;
}