diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-04 15:07:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-04 15:14:14 -0700 |
commit | 85921592b052e2be867f049306abd28e69c978ae (patch) | |
tree | 2fc8a51a2d1fa1c95fe10f25bbd0d400e3cd601a /save-xml.c | |
parent | e58fa7b9b506d5bb30268060279bc8dcbbeb99ea (diff) | |
download | subsurface-85921592b052e2be867f049306abd28e69c978ae.tar.gz |
Properly save/restore cylinder description string
We saved it under the wrong name, and didn't restore it at all. Fix.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 46bcec0a1..64d654711 100644 --- a/save-xml.c +++ b/save-xml.c @@ -143,7 +143,7 @@ static void save_cylinder_info(FILE *f, struct dive *dive) if (volume) fprintf(f, " size='%u.%03u l'", FRACTION(volume, 1000)); if (description) - fprintf(f, " name='%s'", description); + fprintf(f, " description='%s'", description); fprintf(f, " />\n"); } } |