diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-07-30 20:41:49 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-07-30 20:41:49 +0000 |
commit | b11f2b2c4bfd91a82c5b1bea0555d8b0b68cd682 (patch) | |
tree | 7f699ab21bb73da78803916403c6686c95fffd6e /src/gui/gui-common.c | |
parent | aff43aa3553ef9696527a856e70c460a1df7ddf2 (diff) | |
download | weechat-b11f2b2c4bfd91a82c5b1bea0555d8b0b68cd682.zip |
Fixed crash when purging DCC with high number of DCC (> window size)
Diffstat (limited to 'src/gui/gui-common.c')
-rw-r--r-- | src/gui/gui-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c index f859ce812..37b71c0e4 100644 --- a/src/gui/gui-common.c +++ b/src/gui/gui-common.c @@ -706,7 +706,9 @@ gui_exec_action_dcc (t_gui_window *window, char *actions) /* purge old DCC */ case 'p': case 'P': + window->dcc_first = NULL; window->dcc_selected = NULL; + window->dcc_last_displayed = NULL; ptr_dcc = dcc_list; while (ptr_dcc) { |