diff options
Diffstat (limited to 'src/web.cc')
-rw-r--r-- | src/web.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,13 +70,13 @@ int a_Web_dispatch_by_type (const char *Type, DilloWeb *Web, /* Set a style for the widget */ StyleEngine styleEngine (layout); - styleEngine.startElement ("body"); + styleEngine.startElement ("body", Web->bw, Web->url); dw = (Widget*) viewer(Type, Web, Call, Data); if (dw == NULL) return -1; - dw->setStyle (styleEngine.style ()); + dw->setStyle (styleEngine.style (Web->bw, Web->url)); /* This method frees the old dw if any */ layout->setWidget(dw); |