diff --git a/planner.c b/planner.c index 13a9a489a..fcdfe01dc 100644 --- a/planner.c +++ b/planner.c @@ -634,7 +634,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool lastdepth = dp->depth; } while ((dp = nextdp) != NULL); - snprintf(temp, sizeof(temp), translate("gettextFromC", "Gas consumption:")); + snprintf(temp, sizeof(temp), "%s", translate("gettextFromC", "Gas consumption:")); len += snprintf(buffer + len, sizeof(buffer) - len, "