Change-Id: I0797809c1d941c1da260ef1c03619c1775e3dedc
e_input_device_output_name_set(E_Input_Device *dev, const char *input, const char *output)
{
E_Input_Seat *seat;
- E_Input_Evdev *edev;
+ E_Input_Evdev *edev = NULL;
Eina_List *l, *ll;
Eina_Bool found = EINA_FALSE;
break;
}
}
+ if (found) break;
}
if (!found || !edev)
{
ERR("Failed to find input device: %s", input);
- return EINA_TRUE;
+ return EINA_FALSE;
}
if (e_output_find(output))
ERR("Failed to find output device: %s", output);
return EINA_FALSE;
-}
\ No newline at end of file
+}