From 30a502cb8c1e6317299999732a01f4993cb40dd3 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 29 Apr 2007 21:06:03 +0200 Subject: [PATCH] DOM renderer: One byte too much. --- src/document/dom/renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document/dom/renderer.c b/src/document/dom/renderer.c index 87f7e1b93..6391ff82b 100644 --- a/src/document/dom/renderer.c +++ b/src/document/dom/renderer.c @@ -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)