mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove bogus fix
In commit 156ad42a3c
("snprintf is happier if it has an explicit string
literal format argument") I got a little too aggressive making sure there
are string literal format strings...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4d3cefc70b
commit
72e6c52b06
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool
|
|||
} else if (prefs.deco_mode == VPMB){
|
||||
snprintf(temp, sizeof(temp), "%s", translate("gettextFromC", "based on VPM-B"));
|
||||
} else if (prefs.deco_mode == RECREATIONAL){
|
||||
snprintf(temp, sizeof(temp), "%s", translate("gettextFromC", "recreational mode based on Buhlmann ZHL-16B with GFlow = %d and GFhigh = %d"),
|
||||
snprintf(temp, sizeof(temp), translate("gettextFromC", "recreational mode based on Buhlmann ZHL-16B with GFlow = %d and GFhigh = %d"),
|
||||
diveplan->gflow, diveplan->gfhigh);
|
||||
}
|
||||
len += snprintf(buffer + len, sizeof(buffer) - len, "<div><b>%s</b><br>%s</div><br>",
|
||||
|
|
Loading…
Add table
Reference in a new issue