diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2009-04-07 12:20:31 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2009-04-07 12:20:31 +0000 |
| commit | 345c77d826b968aa725e8cd350634bb5d8b649db (patch) | |
| tree | ab8f6bfdb4892c77b111e3b5d3e7b59f7f6381b9 /src | |
| parent | French translation update (mainly LPE) (diff) | |
| download | inkscape-345c77d826b968aa725e8cd350634bb5d8b649db.tar.gz inkscape-345c77d826b968aa725e8cd350634bb5d8b649db.zip | |
oops, fix a bug in that last commit (revealed by eps import; I don't think this bug occurred with skencil import).
(bzr r7659)
Diffstat (limited to 'src')
| -rw-r--r-- | src/document.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/document.cpp b/src/document.cpp index 1b6e14694..7c43b475c 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -626,8 +626,8 @@ do_change_uri(SPDocument *const document, gchar const *const filename, bool cons new_uri = g_strdup(filename); #endif - new_base = g_path_get_dirname(document->uri); - new_name = g_path_get_basename(document->uri); + new_base = g_path_get_dirname(new_uri); + new_name = g_path_get_basename(new_uri); } else { new_uri = g_strdup_printf(_("Unnamed document %d"), ++doc_count); new_base = NULL; |
