diff options
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c index 7a2712949..e4871fbb1 100644 --- a/save-xml.c +++ b/save-xml.c @@ -389,7 +389,7 @@ static void save_dc(struct membuffer *b, struct dive *dive, struct divecomputer static void save_picture(struct membuffer *b, struct picture *pic) { put_string(b, " <picture filename='"); - put_string(b, pic->filename); + put_quoted(b, pic->filename, true, false); put_string(b, "'"); if (pic->offset.seconds) { int offset = pic->offset.seconds; |