Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
input-utils
input-utils-on_exit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File input-utils-on_exit.patch of Package input-utils
--- ffmvforce.c +++ ffmvforce.c @@ -112,6 +112,11 @@ first = 0; } +static void on_exit_func(int status, void *arg) +{ + SDL_Quit(); +} + int main(int argc, char** argv) { SDL_Surface* screen; @@ -147,7 +152,7 @@ fprintf(stderr, "Could not initialize SDL: %s\n", SDL_GetError()); exit(1); } - on_exit(SDL_Quit, NULL); + on_exit(on_exit_func, NULL); screen = SDL_SetVideoMode(WIN_W, WIN_H, 0, SDL_SWSURFACE); if (screen == NULL) { fprintf(stderr, "Could not set video mode: %s\n", SDL_GetError());
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor