diff options
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r-- | src/stylesheet.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c index ed84905..12beb69 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -92,7 +92,10 @@ char *stylesheet_lookup(Stylesheet *ss, const char *path) } v = json_array_get_string_element(array, 0); - if ( v == NULL ) return NULL; + if ( v == NULL ) { + printf("%s not a string\n", path); + return NULL; + } ret = strdup(v); json_node_unref(node); |