aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-04-21 22:55:37 +0200
committerThomas White <taw@bitwiz.org.uk>2016-04-21 22:55:37 +0200
commit0a87aa482db59a13a7f3ffe32f50d1392680d74a (patch)
tree380b94faf17e443a5d14ae3976e3b5f6b6338b3b /src
parent1174b613b6140abe6cd2de11396185a3d63a4dd6 (diff)
Increase debugging message detail
Diffstat (limited to 'src')
-rw-r--r--src/frame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 9440ec1..fce039d 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -288,7 +288,8 @@ void wrap_paragraph(Paragraph *para, PangoContext *pc, double w)
/* Allocate the complete text */
text = malloc(total_len+1);
if ( text == NULL ) {
- fprintf(stderr, "Couldn't allocate combined text\n");
+ fprintf(stderr, "Couldn't allocate combined text (%lli)\n",
+ (long long int)total_len);
return;
}