1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

DOM renderer: off by one error.

This commit is contained in:
Witold Filipczyk 2007-04-29 21:06:03 +02:00 committed by Witold Filipczyk
parent 71c13ecbdb
commit 17ef838be7

View File

@ -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)