changeset 600:5a6b3739ab09

increase style buffer
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sat, 15 Nov 2008 21:50:56 +0100
parents 72772fdef974
children f4d2c33472b4
files src/css.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Sat Nov 15 21:50:45 2008 +0100
+++ b/src/css.cc	Sat Nov 15 21:50:56 2008 +0100
@@ -214,8 +214,8 @@
 
    FILE *fp = fopen (filename, "r");
    if (fp) {
-      buf = (char*) dMalloc (10000); /* \todo proper buffer handling */
-      fread (buf, 1, 10000, fp);
+      buf = (char*) dMalloc (100000); /* \todo proper buffer handling */
+      fread (buf, 1, 100000, fp);
 
       a_Css_parse (this, buf, strlen (buf), 0, CSS_ORIGIN_USER);