mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-27 05:28:29 +00:00
Fixed whitespace in SDL_evdev.c
This commit is contained in:
@@ -732,7 +732,7 @@ SDL_EVDEV_device_added(const char *devpath)
|
|||||||
|
|
||||||
/* Check to make sure it's not already in list. */
|
/* Check to make sure it's not already in list. */
|
||||||
for (item = _this->first; item != NULL; item = item->next) {
|
for (item = _this->first; item != NULL; item = item->next) {
|
||||||
if (strcmp(devpath, item->path) == 0) {
|
if (SDL_strcmp(devpath, item->path) == 0) {
|
||||||
return -1; /* already have this one */
|
return -1; /* already have this one */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -779,7 +779,7 @@ SDL_EVDEV_device_removed(const char *devpath)
|
|||||||
|
|
||||||
for (item = _this->first; item != NULL; item = item->next) {
|
for (item = _this->first; item != NULL; item = item->next) {
|
||||||
/* found it, remove it. */
|
/* found it, remove it. */
|
||||||
if ( strcmp(devpath, item->path) ==0 ) {
|
if (SDL_strcmp(devpath, item->path) == 0) {
|
||||||
if (prev != NULL) {
|
if (prev != NULL) {
|
||||||
prev->next = item->next;
|
prev->next = item->next;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user