mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-29 09:18:43 +00:00
Re-add SDL_assert() with non boolean ptr syntax (#8531)
This commit is contained in:
parent
c29df1699e
commit
f3419d8c04
37 changed files with 73 additions and 73 deletions
|
|
@ -500,7 +500,7 @@ static SDL_joylist_item *JoystickByDevIndex(int device_index)
|
|||
}
|
||||
|
||||
while (device_index > 0) {
|
||||
SDL_assert(item);
|
||||
SDL_assert(item != NULL);
|
||||
device_index--;
|
||||
item = item->next;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue