aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-15 21:50:56 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-15 21:50:56 +0100
commit706d17ffc5759ef01df79e0cbaf2c1b5ad653cb4 (patch)
treef456433c603da42b8ad1c6bdae1777681735e98e /src/css.cc
parent18861e4f7678cbbd43ad985c1ada58b4d618d4bc (diff)
increase style buffer
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/css.cc b/src/css.cc
index 842438cb..1f2266fd 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -214,8 +214,8 @@ void CssContext::buildUserStyle () {
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);