diff options
author | jcid <devnull@localhost> | 2008-01-02 21:01:11 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-01-02 21:01:11 +0100 |
commit | db11521791963950f04077dbafd105360e5b6f7b (patch) | |
tree | e8cf0303f99f6cf645c20c96859ec80d5c99073f | |
parent | 40e4a2e136c7829676ba634169f8cc86379b8d46 (diff) |
- Fixed a segfault bug when closing a bw under active networking.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/html.cc | 2 | ||||
-rw-r--r-- | src/uicmd.cc | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -93,6 +93,7 @@ dillo-fltk2 - Made "New browser window" inherit the panel style of its parent. - Made TopGroup a PackedGroup, simplifying UI code and removing workarounds. - Added a redraw(DAMAGE_HIGHLIGHT) call to Back, Forw and Stop buttons. + - Fixed a segfault bug when closing a bw under active networking. Patches: Johannes Hofmann +- Made progress bars resize automatically. Patches: Johannes Hofmann, Jorge Arellano Cid 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); |