(mouse_get_local): initialize local.modifiers.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2014-04-20 17:24:33 +04:00
parent 2f69f5b929
commit 76d61edc1e

View File

@ -359,6 +359,7 @@ mouse_get_local (const Gpm_Event * global, const Widget * w)
Gpm_Event local;
local.buttons = global->buttons;
local.modifiers = 0;
local.x = global->x - w->x;
local.y = global->y - w->y;
local.type = global->type;