mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-17 17:08:22 +00:00
Removing a timer that isn't running is a success.
This commit is contained in:
@@ -381,11 +381,7 @@ int SDL_RemoveTimer(SDL_TimerID id)
|
||||
}
|
||||
SDL_free(entry);
|
||||
}
|
||||
if (canceled) {
|
||||
return 0;
|
||||
} else {
|
||||
return SDL_SetError("Timer not found");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user