summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 1c4db7d9d..a4ae81b25 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1475,9 +1475,8 @@ void parse_xml_buffer(const char *url, const char *buffer, int size, GError **er
}
return;
}
- /* we assume that the last (or only) filename passed as argument is a
- * great filename to use as default when saving the dives */
- set_filename(url);
+ /* remember, if necessary, that this is the filename to store to */
+ set_filename(url, FALSE);
reset_all();
dive_start();
#ifdef XSLT