summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/network_gui.c b/network_gui.c
index 2e60fcac5..05ed7379d 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -1258,11 +1258,6 @@ static void ClientListPopupWndProc(Window *w, WindowEvent *e)
if (index >= 0 && e->we.popupmenu.pt.y >= w->top)
HandleClientListPopupClick(index, WP(w,menu_d).main_button);
- // Sometimes, because of the bad DeleteWindow-proc, the 'w' pointer is
- // invalid after the last functions (mostly because it kills a window
- // that is in front of 'w', and because of a silly memmove, the address
- // 'w' was pointing to becomes invalid), so we need to refetch
- // the right address...
DeleteWindowById(WC_TOOLBAR_MENU, 0);
} break;