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 10fb949 commit dd0b294Copy full SHA for dd0b294
menu/menu.cpp
@@ -397,8 +397,8 @@ void init_menu_system_values(){
397
volume_percentage = 50; ///wrong value: setting default to 50
398
}
399
else{
400
- pclose(fp);
401
fgets(res, sizeof(res)-1, fp);
+ pclose(fp);
402
403
/// Check if Volume is a number (at least the first char)
404
if(res[0] < '0' || res[0] > '9'){
@@ -418,8 +418,8 @@ void init_menu_system_values(){
418
brightness_percentage = 50; ///wrong value: setting default to 50
419
420
421
422
423
424
/// Check if brightness is a number (at least the first char)
425
0 commit comments