osdlang_setup: avoid unnecessary (char *) casts

This commit is contained in:
Stefan Seyfried
2015-02-10 14:57:15 +01:00
parent 8004564022
commit 03932f2b04

View File

@@ -179,7 +179,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 *) CONFIGDIR "/locale"};
const char *pfad[] = {DATADIR "/neutrino/locale", CONFIGDIR "/locale"};
osdl_setup->addIntroItems();