Codacy fix
This commit is contained in:
parent
65806c1285
commit
9c10c76266
|
@ -55,14 +55,13 @@ static void
|
||||||
handle_mouse_motion_event(Menu *m, SDL_Event *event)
|
handle_mouse_motion_event(Menu *m, SDL_Event *event)
|
||||||
{
|
{
|
||||||
LinkedList *items;
|
LinkedList *items;
|
||||||
MenuItem *item;
|
|
||||||
int current_select;
|
int current_select;
|
||||||
bool activeItemFound = false;
|
bool activeItemFound = false;
|
||||||
|
|
||||||
items = m->items;
|
items = m->items;
|
||||||
current_select = 0;
|
current_select = 0;
|
||||||
while (items) {
|
while (items) {
|
||||||
item = items->data;
|
MenuItem *item = items->data;
|
||||||
items = items->next;
|
items = items->next;
|
||||||
|
|
||||||
item->button->hover = false;
|
item->button->hover = false;
|
||||||
|
|
Loading…
Reference in New Issue