mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #1520: Uninitialized event.x in find.c#check_find_events()
Fixed uninitialised member of structure. Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
1104a6db38
commit
02132ecaea
@ -608,6 +608,7 @@ check_find_events(Dlg_head *h)
|
||||
Gpm_Event event;
|
||||
int c;
|
||||
|
||||
event.x = -1;
|
||||
c = get_event (&event, h->mouse_status == MOU_REPEAT, 0);
|
||||
if (c != EV_NONE) {
|
||||
dlg_process_event (h, c, &event);
|
||||
|
Loading…
Reference in New Issue
Block a user