fix missing ! because I'm a moron.

not backporting because this never gets installed anyway
no changelog update for the same reason

SVN revision: 57497
This commit is contained in:
Mike Blumenkrantz 2011-03-03 15:52:43 +00:00
parent b757eaeb91
commit fa6231f7f2
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ catch_events(const char *device,
* inside the device name
*/
EINA_LIST_FOREACH(akbdmouse->kbds, l, name)
if (strncmp(device + 5, name, strlen(device + 5) - 8)) goto end;
if (!strncmp(device + 5, name, strlen(device + 5) - 8)) goto end;
EINA_LIST_FOREACH(akbdmouse->mice, l, name)
if (strncmp(device + 5, name, strlen(device + 5) - 8)) goto end;
if (!strncmp(device + 5, name, strlen(device + 5) - 8)) goto end;
/* check to see if the device was just plugged in */
if (eeze_udev_syspath_is_kbd(device) || eeze_udev_syspath_is_mouse(device))