diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2013-11-29 20:53:33 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2013-11-29 20:53:33 +0100 |
commit | 96b7acf51236dd54a7f34935b0c63876bc03a8ff (patch) | |
tree | 2a14084735f554140f1da2ab67ba7f4f21ae6392 /src/plain.cc | |
parent | c6b750dcfc9529033a2aaaca8b61fd97038c7e60 (diff) | |
parent | aa1f70a72b20e6003761c44056698d50ca6629c6 (diff) |
merge
Diffstat (limited to 'src/plain.cc')
-rw-r--r-- | src/plain.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plain.cc b/src/plain.cc index d63ce6cf..d09f6d79 100644 --- a/src/plain.cc +++ b/src/plain.cc @@ -97,9 +97,10 @@ DilloPlain::DilloPlain(BrowserWindow *p_bw) Layout *layout = (Layout*) bw->render_layout; StyleEngine styleEngine (layout); - styleEngine.startElement ("body"); - styleEngine.startElement ("pre"); - widgetStyle = styleEngine.wordStyle (); + // TODO (3x) No URL? + styleEngine.startElement ("body", bw, NULL); + styleEngine.startElement ("pre", bw, NULL); + widgetStyle = styleEngine.wordStyle (bw, NULL); widgetStyle->ref (); /* The context menu */ |