diff --git a/core/planner.c b/core/planner.c index a3ae39a1e..9791523d2 100644 --- a/core/planner.c +++ b/core/planner.c @@ -584,7 +584,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool return; } - len = show_disclaimer ? snprintf(buffer, sz_buffer, "