summaryrefslogtreecommitdiffstats
path: root/core/plannernotes.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-09-09 22:49:57 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-12 14:17:55 -0700
commit31f1af07c23ef5c47dff1b88b5e70e75b95ce2ad (patch)
tree9168c98da1edd8a7238591f1ff0a101d23d4a7fd /core/plannernotes.c
parentecbfea35680fe9f00ccacb89675b2109470b5125 (diff)
downloadsubsurface-31f1af07c23ef5c47dff1b88b5e70e75b95ce2ad.tar.gz
Planner: fix display of "overlapping dives" message
1) Add a missing <div> 2) More importantly: recognize html content via <div>-tags instead of <table>-tags. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/plannernotes.c')
-rw-r--r--core/plannernotes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plannernotes.c b/core/plannernotes.c
index f768698ac..90f37add7 100644
--- a/core/plannernotes.c
+++ b/core/plannernotes.c
@@ -120,7 +120,7 @@ void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool show_d
}
if (diveplan->surface_interval < 0) {
- put_format(&buf, "<div><b>%s (%s) %s<br>",
+ put_format(&buf, "<div><b>%s (%s) %s<br></div>",
translate("gettextFromC", "Subsurface"),
subsurface_canonical_version(),
translate("gettextFromC", "dive plan</b> (overlapping dives detected)"));