We saved it under the wrong name, and didn't restore it at all. Fix.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
return;
if (MATCH(".cylinder.workpressure", pressure, &dive->cylinder[cylinder_index].type.workingpressure))
return;
+ if (MATCH(".cylinder.description", utf8_string, &dive->cylinder[cylinder_index].type.description))
+ return;
if (MATCH(".o2", gasmix, &dive->cylinder[cylinder_index].gasmix.o2))
return;
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");
}
}