Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
powermanga
powermanga-fix-difficulty.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File powermanga-fix-difficulty.patch of Package powermanga
Index: b/src/config_file.c =================================================================== --- a/src/config_file.c +++ b/src/config_file.c @@ -291,6 +291,14 @@ configfile_load (void) { power_conf->verbose = 0; } + if (!lisp_read_int (lst, "difficulty", &power_conf->difficulty)) + { + power_conf->difficulty = 1; + } + if (power_conf->difficulty < 0 || power_conf->difficulty > 2) + { + power_conf->difficulty = 1; + } if (!lisp_read_int (lst, "scale_x", &power_conf->scale_x)) { power_conf->scale_x = 2;
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