Skip to content

Commit

Permalink
comments about the sometimes-unmatched </table> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pestophagous committed Nov 16, 2015
1 parent 617caa5 commit f19d22e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion subsurface-core/planner.c
Expand Up @@ -787,7 +787,8 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool
lastsetpoint = dp->setpoint;
lastentered = dp->entered;
} while ((dp = nextdp) != NULL);
len += snprintf(buffer + len, sz_buffer - len, "</tbody></table></div>");
// Note: the tag to *open* this tbody and table are conditional upon: if (!plan_verbatim)
len += snprintf(buffer + len, sz_buffer - len, "</tbody></table></div>"); // yet this is unconditional?

dive->cns = 0;
dive->maxcns = 0;
Expand Down

0 comments on commit f19d22e

Please sign in to comment.