aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-10-22 16:46:51 +0200
committerThomas White <taw@physics.org>2017-10-22 16:46:51 +0200
commitaf102c4e0c1087556ca67eae111f2935898f0be9 (patch)
tree405463c3df6530c207e380464126a446b08f07c2 /src
parentf1343f115ab92caa1c8758c56e45391fa6fd2715 (diff)
debugger: Show SCBlock for newline at end
Diffstat (limited to 'src')
-rw-r--r--src/debugger.c5
1 files changed, 2 insertions, 3 deletions
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);
}