mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Quote picture file names when saving XML
Fixes #775 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bae5e7cb17
commit
6ef011a0f6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue