aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.cc2
-rw-r--r--src/uicmd.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index 520f0b44..740f49ed 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -3232,7 +3232,7 @@ static void Html_tag_open_li(DilloHtml *html, const char *tag, int tagsize)
DW2TB(html->dw)->addParbreak (2, word_style);
- list_item = new ListItem ((ListItem *)*ref_list_item,prefs.limit_text_width);
+ list_item = new ListItem ((ListItem*)*ref_list_item,prefs.limit_text_width);
DW2TB(html->dw)->addWidget (list_item, item_style);
DW2TB(html->dw)->addParbreak (2, word_style);
*ref_list_item = list_item;
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 58d5089e..7a9d8a59 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -124,6 +124,7 @@ void a_UIcmd_close_bw(void *vbw)
Layout *layout = (Layout*)bw->render_layout;
MSG("a_UIcmd_close_bw\n");
+ a_Bw_stop_clients(bw, BW_Root + BW_Img + Bw_Force);
ui->destroy();
delete(layout);
a_Bw_free(bw);