mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
DOM renderer: off by one error.
This commit is contained in:
parent
8376feb6b1
commit
7f49eda39e
@ -138,7 +138,7 @@ init_dom_renderer(struct dom_renderer *renderer, struct document *document,
|
||||
/* When someone will get here earlier than at 4am,
|
||||
* this will be done in some init function, perhaps
|
||||
* not overriding the user's default stylesheet. */
|
||||
css_parse_stylesheet(css, NULL, styles, styles + sizeof(default_colors) + 1);
|
||||
css_parse_stylesheet(css, NULL, styles, styles + sizeof(default_colors));
|
||||
}
|
||||
|
||||
if (name)
|
||||
|
Loading…
Reference in New Issue
Block a user