From 34604c7fe4530c8a9b8510497de51367f550df99 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 23 Dec 2011 21:29:39 +0000 Subject: Fix a couple of slide role bugs --- src/stylesheet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stylesheet.c') diff --git a/src/stylesheet.c b/src/stylesheet.c index 5706cc2..1a76a45 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -655,7 +655,7 @@ enum object_role str_to_role(const char *s) if ( strcmp(s, "ptitle-ref") == 0 ) return S_ROLE_PTITLE_REF; if ( strcmp(s, "pauthor") == 0 ) return S_ROLE_PAUTHOR; if ( strcmp(s, "pauthor-ref") == 0 ) return S_ROLE_PAUTHOR_REF; - if ( strcmp(s, "padte") == 0 ) return S_ROLE_PDATE; + if ( strcmp(s, "pdate") == 0 ) return S_ROLE_PDATE; if ( strcmp(s, "pdate-ref") == 0 ) return S_ROLE_PDATE_REF; return S_ROLE_NONE; -- cgit v1.2.3