mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add debug capability to planner notes
The output it spits out can be copy-pasted into a html validator like: https://validator.w3.org/nu/#textarea Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
00c902d66c
commit
9935343ba1
1 changed files with 3 additions and 0 deletions
|
@ -616,4 +616,7 @@ finished:
|
|||
mb_cstring(&buf);
|
||||
free(dive->notes);
|
||||
dive->notes = detach_buffer(&buf);
|
||||
#ifdef DEBUG_PLANNER_NOTES
|
||||
printf("<!DOCTYPE html>\n<html>\n\t<head><title>plannernotes</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/></head>\n\t<body>\n%s\t</body>\n</html>\n", dive->notes);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue