1
0
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:
Witold Filipczyk 2007-04-29 21:06:03 +02:00 committed by Miciah Dashiel Butler Masters
parent 8376feb6b1
commit 7f49eda39e

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)