From 9935343ba19c50973dc608be620fbab4350799e4 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 28 Aug 2019 10:13:10 +0200 Subject: 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 --- core/plannernotes.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core') diff --git a/core/plannernotes.c b/core/plannernotes.c index 3ce2b6c65..200f6afa1 100644 --- a/core/plannernotes.c +++ b/core/plannernotes.c @@ -616,4 +616,7 @@ finished: mb_cstring(&buf); free(dive->notes); dive->notes = detach_buffer(&buf); +#ifdef DEBUG_PLANNER_NOTES + printf("\n\n\tplannernotes\n\t\n%s\t\n\n", dive->notes); +#endif } -- cgit v1.2.3-70-g09d2