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

@@ -111,7 +111,7 @@ CLocaleManager::~CLocaleManager()
delete[] defaultData;
}
const char * path[2] = {"/var/tuxbox/config/locale/", DATADIR "/neutrino/locale/"};
const char * path[2] = {CONFIGDIR "/locale/", DATADIR "/neutrino/locale/"};
CLocaleManager::loadLocale_ret_t CLocaleManager::loadLocale(const char * const locale, bool asdefault)
{