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:
dborca 2009-08-12 14:53:23 +03:00 committed by Slava Zanko
parent 1104a6db38
commit 02132ecaea

View File

@ -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);