mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(listbox_event): clarify check whether listbox is empty.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
46651f04d1
commit
478e58dfa2
@ -478,7 +478,7 @@ listbox_event (Gpm_Event * event, void *data)
|
||||
if ((event->type & GPM_DOWN) != 0)
|
||||
dlg_select_widget (l);
|
||||
|
||||
if (g_queue_is_empty (l->list))
|
||||
if (listbox_is_empty (l))
|
||||
return MOU_NORMAL;
|
||||
|
||||
if ((event->type & (GPM_DOWN | GPM_DRAG)) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user