diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-08-06 07:39:23 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-06 06:03:33 -0700 |
commit | 4b9b19cec6e975d70511a4994d0634855234ae59 (patch) | |
tree | 8e7140b266379507dadea116fc01d34178ec2935 /planner.c | |
parent | d85d08e14f9ed2b39e0d4d2cdc772e26f02fef78 (diff) | |
download | subsurface-4b9b19cec6e975d70511a4994d0634855234ae59.tar.gz |
Fix compile warning
warning: format not a string literal and no format arguments
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
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
@@ -534,7 +534,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool return; if (error) { - snprintf(temp, sizeof(temp), + snprintf(temp, sizeof(temp), "%s", translate("gettextFromC", "Decompression calculation aborted due to excessive time")); snprintf(buffer, sizeof(buffer), "<span style='color: red;'>%s </span> %s<br>", translate("gettextFromC", "Warning:"), temp); |