diff options
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r-- | src/stylesheet.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c index b5cad74..08acc9b 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -65,8 +65,6 @@ struct style *new_style(StyleSheet *ss, const char *name, const char *pname) sty->lop.w = 100.0; sty->lop.h = 100.0; - if ( ss->default_style == NULL ) ss->default_style = sty; - n = ss->n_styles; styles_new = realloc(ss->styles, (n+1)*sizeof(sty)); if ( styles_new == NULL ) { |