aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r--src/stylesheet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index a4b3543..eb959c1 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -327,7 +327,7 @@ struct slide_template *tree_to_slide_template(StyleSheet *ss,
get_field_s(root, "name", &v);
if ( v == NULL ) {
fprintf(stderr, "No name for slide template '%s'\n",
- root->children[i]->key);
+ root->key);
return NULL;
}