We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 051950a commit 7a49260Copy full SHA for 7a49260
sys/sdl/sdl-menu.c
@@ -380,8 +380,8 @@ void init_menu_system_values(){
380
volume_percentage = 50; ///wrong value: setting default to 50
381
}
382
else{
383
- pclose(fp);
384
fgets(res, sizeof(res)-1, fp);
+ pclose(fp);
385
386
/// Check if Volume is a number (at least the first char)
387
if(res[0] < '0' || res[0] > '9'){
@@ -401,8 +401,8 @@ void init_menu_system_values(){
401
brightness_percentage = 50; ///wrong value: setting default to 50
402
403
404
405
406
407
/// Check if brightness is a number (at least the first char)
408
0 commit comments