Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
dumb
dumb-0.9.3-example.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dumb-0.9.3-example.patch of Package dumb
--- examples/dumbplay.c +++ examples/dumbplay.c @@ -147,6 +147,12 @@ DUH *duh; /* Encapsulates the music file. */ AL_DUH_PLAYER *dp; /* Holds the current playback state. */ + /* Tell Allegro where to find configuration data. This means you can + * put any settings for Allegro in dumb.ini. See Allegro's + * documentation for more information. + */ + set_config_file("dumb.ini"); + /* Initialise Allegro */ if (allegro_init()) return EXIT_FAILURE; @@ -155,12 +161,6 @@ if (argc != 2) usage(argv[0]); - /* Tell Allegro where to find configuration data. This means you can - * put any settings for Allegro in dumb.ini. See Allegro's - * documentation for more information. - */ - set_config_file("dumb.ini"); - /* Initialise Allegro's keyboard input. */ if (install_keyboard()) { allegro_message("Failed to initialise keyboard driver!\n");
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