summaryrefslogtreecommitdiffstats
path: root/core/planner.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-03-27 18:30:05 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-28 13:31:45 -0700
commiteefa390e5f53e3124f996124c25c487da5f008ca (patch)
tree117a31179256f1a8f041870dce503fb2c8d9b591 /core/planner.h
parent622ab2286abf23de889b928cdde4b4e234b76fc3 (diff)
downloadsubsurface-eefa390e5f53e3124f996124c25c487da5f008ca.tar.gz
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>
Diffstat (limited to 'core/planner.h')
-rw-r--r--core/planner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/planner.h b/core/planner.h
index 3298d7ddb..919fddac8 100644
--- a/core/planner.h
+++ b/core/planner.h
@@ -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