diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-08-25 16:32:07 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-08-25 16:32:07 +0200 |
commit | e5a4d26dc7d17b158230c161a38479e5abe17fb5 (patch) | |
tree | d62e70cc97ca80981c5531cbf5274db4b0397e39 /src | |
parent | 73a0ed9f894790c6cd6e14c6b0e7c7b9f19e3cd3 (diff) |
Don't set first style as default
Diffstat (limited to 'src')
-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 ) { |