From 106f80310d83e35200b1eed307bc4e9378b2725e Mon Sep 17 00:00:00 2001 From: Mooffie Date: Tue, 17 Nov 2015 23:38:20 +0200 Subject: [PATCH] Remove outdated comment about refresh. This comment was explanining a call to mc_refresh(). That call was removed in commit 1f0b05b18. Keyboard events and mouse events are nowadays the same: refresh is done after both. Signed-off-by: Andrew Borodin --- lib/widget/listbox.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/widget/listbox.c b/lib/widget/listbox.c index 7f8f199af..0242e7246 100644 --- a/lib/widget/listbox.c +++ b/lib/widget/listbox.c @@ -513,8 +513,6 @@ listbox_event (Gpm_Event * event, void *data) else listbox_select_entry (l, listbox_y_pos (l, local.y - 1)); - /* We need to refresh ourselves since the dialog manager doesn't */ - /* know about this event */ listbox_draw (l, TRUE); return ret; } -- 2.11.4.GIT