mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
ecbfea3568
commit
31f1af07c2
2 changed files with 4 additions and 4 deletions
|
@ -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)"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue