mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- disable strange try-to-detect-bad-config-file if-statement
This commit is contained in:
@@ -320,6 +320,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
//file existiert nicht
|
||||
erg = 1;
|
||||
} else {
|
||||
#if 0
|
||||
/* try to detect bad / broken config file */
|
||||
if (!configfile.getInt32("screen_EndX_crt_0", 0) ||
|
||||
!configfile.getInt32("screen_EndY_crt_0", 0) ||
|
||||
@@ -327,10 +328,11 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
!configfile.getInt32("screen_EndY_lcd_0", 0)) {
|
||||
printf("[neutrino] config file %s is broken, using defaults\n", fname);
|
||||
configfile.clear();
|
||||
} else {
|
||||
} else
|
||||
#endif
|
||||
migrateConfig(fname);
|
||||
}
|
||||
}
|
||||
|
||||
parentallocked = !access(NEUTRINO_PARENTALLOCKED_FILE, R_OK);
|
||||
|
||||
//theme/color options
|
||||
|
Reference in New Issue
Block a user