mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed whitespace in SDL_evdev.c
This commit is contained in:
parent
9f50d63dd5
commit
82eec4b630
@ -732,7 +732,7 @@ SDL_EVDEV_device_added(const char *devpath)
|
||||
|
||||
/* Check to make sure it's not already in list. */
|
||||
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 */
|
||||
}
|
||||
}
|
||||
@ -779,7 +779,7 @@ SDL_EVDEV_device_removed(const char *devpath)
|
||||
|
||||
for (item = _this->first; item != NULL; item = item->next) {
|
||||
/* found it, remove it. */
|
||||
if ( strcmp(devpath, item->path) ==0 ) {
|
||||
if (SDL_strcmp(devpath, item->path) == 0) {
|
||||
if (prev != NULL) {
|
||||
prev->next = item->next;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user