From af102c4e0c1087556ca67eae111f2935898f0be9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 22 Oct 2017 16:46:51 +0200 Subject: debugger: Show SCBlock for newline at end --- src/debugger.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/debugger.c') diff --git a/src/debugger.c b/src/debugger.c index 15012e6..c1e971e 100644 --- a/src/debugger.c +++ b/src/debugger.c @@ -146,9 +146,8 @@ static void debug_text_para(Paragraph *para, cairo_t *cr, double *ypos, } } - if ( get_newline_at_end(para) ) { - plot_text(cr, ypos, fontdesc, "Ends with newline"); - } + snprintf(tmp, 255, "Newline at end: %p\n", get_newline_at_end(para)); + plot_text(cr, ypos, fontdesc, tmp); } -- cgit v1.2.3