diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-26 07:32:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-26 09:14:06 -0700 |
commit | 72e6c52b06db8189561454615d238446f924c539 (patch) | |
tree | 19b221c70bb333d67478613ccec751471d9923d7 /planner.c | |
parent | 4d3cefc70b11977391f0376f668f2670b7fc5095 (diff) | |
download | subsurface-72e6c52b06db8189561454615d238446f924c539.tar.gz |
Remove bogus fix
In commit 156ad42a3cc9 ("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>
Diffstat (limited to 'planner.c')
-rw-r--r-- | planner.c | 2 |
1 files changed, 1 insertions, 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>", |