Handle notes in replan

Upon replanning a dive, we want to delete the old
dive plan in the notes and replace it with the actual.

This fixes a problem when we failed to detect the old plan due
to the deco model name appearing in the disclaimer that was used
as a marker for the notes.

This patch also adds translation markers for the deco model name strings..

Fixes #285

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2017-03-27 18:30:05 +02:00 committed by Dirk Hohndel
parent 622ab2286a
commit eefa390e5f
3 changed files with 6 additions and 6 deletions

View file

@ -24,7 +24,7 @@ extern bool diveplan_empty(struct diveplan *diveplan);
extern void free_dps(struct diveplan *diveplan);
extern struct dive *planned_dive;
extern char *cache_data;
extern const char *disclaimer;
extern char *disclaimer;
extern double plangflow, plangfhigh;
#ifdef __cplusplus