aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-26 07:32:03 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-26 09:14:06 -0700
commit72e6c52b06db8189561454615d238446f924c539 (patch)
tree19b221c70bb333d67478613ccec751471d9923d7
parent4d3cefc70b11977391f0376f668f2670b7fc5095 (diff)
downloadsubsurface-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>
-rw-r--r--planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.c b/planner.c
index 2d2b3f716..c2cfe7461 100644
--- a/planner.c
+++ b/planner.c
@@ -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>",