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, "
%s
", disclaimer) : 0; + len = show_disclaimer ? snprintf(buffer, sz_buffer, "
%s
", disclaimer) : 0; if (diveplan->surface_interval > 60) { len += snprintf(buffer + len, sz_buffer - len, "
%s %d:%02d)
",