osdlang_setup: avoid unnecessary (char *) casts

This commit is contained in:
Stefan Seyfried
2015-02-10 14:57:15 +01:00
committed by Jacek Jendrzej
parent 30f3988583
commit b6a406deb4

View File

@@ -177,7 +177,7 @@ void COsdLangSetup::showLanguageSetup(CMenuWidget *osdl_setup)
{
struct dirent **namelist;
int n;
char *pfad[] = {(char *) DATADIR "/neutrino/locale",(char *) "/var/tuxbox/locale"};
const char *pfad[] = {DATADIR "/neutrino/locale", CONFIGDIR "/locale"};
osdl_setup->addIntroItems();