summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ansr-tex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ansr-tex.c b/src/ansr-tex.c
index 46d6d00..0b392d4 100644
--- a/src/ansr-tex.c
+++ b/src/ansr-tex.c
@@ -96,7 +96,10 @@ static ansr_t * ansr_from_file(const char *path)
if (!f)
return NULL;
- (void) ansr_get_sauce_dimensions(f, &conf.screen_width, NULL);
+ debug_if(ansr_get_sauce_dimensions(f, &conf.screen_width, NULL) < 0,
+ "No SAUCE metadata for \"%s\"", path);
+
+ debugf("\"%s\" %u wide", path, conf.screen_width);
a = ansr_new(&conf, NULL, 0);
if (!a) {
© All Rights Reserved