aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-12-23 21:29:39 +0000
committerThomas White <taw@bitwiz.org.uk>2011-12-23 21:29:39 +0000
commit34604c7fe4530c8a9b8510497de51367f550df99 (patch)
tree037d0e1b5e89f3e9faee26519f99aa2196162da3 /src/stylesheet.c
parentddef8e592634d74571c2ff5df2b77fb100336fad (diff)
Fix a couple of slide role bugs
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 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;