neutrino: fix file locations. use the predetermined CONFIGDIR instead of hardcoding paths.

This commit is contained in:
[CST] Bas
2013-01-25 10:33:40 +08:00
parent 05bc38eac5
commit 8dfa226920
12 changed files with 16 additions and 16 deletions

View File

@@ -163,7 +163,7 @@ void COsdLangSetup::showLanguageSetup(CMenuWidget *osdl_setup)
struct dirent **namelist;
int n;
// printf("scanning locale dir now....(perhaps)\n");
char *pfad[] = {(char *) DATADIR "/neutrino/locale",(char *) "/var/tuxbox/config/locale"};
char *pfad[] = {(char *) DATADIR "/neutrino/locale",(char *) CONFIGDIR "/locale"};
osdl_setup->addIntroItems();