mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
d85d08e14f
commit
4b9b19cec6
1 changed files with 1 additions and 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);
|
||||
|
|
Loading…
Reference in a new issue