aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-02 16:12:12 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-02 16:12:12 +0100
commit619a64c21d4e20ee3acbac817119e6ed55202b14 (patch)
tree8da8ce55e9a7c4d1678c7c544af16d23a1fcccff /src/html.cc
parent7e02b71bdf95ced9add252816c2a4956d4f80ae5 (diff)
use wordStyle() for bullets in Html_tag_open_frame()
This avoids giant bullets if an <iframe> has width or height specified.
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/html.cc b/src/html.cc
index fe04ca15..0aad121b 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1793,11 +1793,8 @@ static void Html_tag_open_frame (DilloHtml *html, const char *tag, int tagsize)
textblock->addParbreak (5, html->styleEngine->wordStyle ());
- /* The bullet will be assigned the current list style, which should
- * be "disc" by default, but may in very weird pages be different.
- * Anyway, there should be no harm. */
bullet = new Bullet();
- textblock->addWidget(bullet, html->styleEngine->style ());
+ textblock->addWidget(bullet, html->styleEngine->wordStyle ());
textblock->addSpace(html->styleEngine->wordStyle ());
if (tolower(tag[1]) == 'i') {