aboutsummaryrefslogtreecommitdiff
path: root/src/web.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-04-02 21:47:26 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-04-02 21:47:26 +0200
commit488e5f9ca3b937c7aa5993a80d0e5610ef88ac42 (patch)
tree5537ed03ebb683e5968093538f7097b0bf94a79b /src/web.cc
parentbd44716237e2f4d8e34a814ada508dd7a11af70d (diff)
fix crash and use proper requester URL for CSS images
Diffstat (limited to 'src/web.cc')
-rw-r--r--src/web.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web.cc b/src/web.cc
index 617afbbe..b835610c 100644
--- a/src/web.cc
+++ b/src/web.cc
@@ -73,7 +73,7 @@ int a_Web_dispatch_by_type (const char *Type, DilloWeb *Web,
style::createPerLength (0));
/* Set a style for the widget */
- StyleEngine styleEngine (layout, Web->url);
+ StyleEngine styleEngine (layout, Web->url, Web->url);
styleEngine.startElement ("body", Web->bw);
dw = (Widget*) viewer(Type, Web, Call, Data);