aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-08-25 16:31:06 +0200
committerThomas White <taw@bitwiz.org.uk>2013-08-25 16:31:06 +0200
commit14f80ecac9ecf5881fa589b88033c82aefec4a8b (patch)
treebc5339e0b11988bbe4bc9ca1b2b748d9521fe89d /src/presentation.c
parentbac5d1b43e57415c823e84a87fed226c30f0d0ab (diff)
Use short name for styles
Diffstat (limited to 'src/presentation.c')
-rw-r--r--src/presentation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/presentation.c b/src/presentation.c
index a03d400..ee93691 100644
--- a/src/presentation.c
+++ b/src/presentation.c
@@ -273,8 +273,8 @@ static char *frame_options_string(struct frame *fr, StyleSheet *ss)
opt = malloc(64);
if ( opt == NULL ) return NULL;
- snprintf(opt, 31, "style=%i%s",
- style_number(ss, fr->style), maybe_star(fr->lop_from_style));
+ snprintf(opt, 31, "style=%s%s",
+ fr->style->pname, maybe_star(fr->lop_from_style));
if ( !fr->lop_from_style ) {
char tmp[32];