aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/stylesheet.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstorycode/stylesheet.c')
-rw-r--r--libstorycode/stylesheet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstorycode/stylesheet.c b/libstorycode/stylesheet.c
index 4d650c1..7054a09 100644
--- a/libstorycode/stylesheet.c
+++ b/libstorycode/stylesheet.c
@@ -244,7 +244,7 @@ const char *stylesheet_get_font(Stylesheet *s, enum style_element el,
*alignment = sty->alignment;
for ( i=0; i<4; i++ ) fgcol[i] = sty->fgcol[i];
- return s->slide_text.font;
+ return sty->font;
}