Commit 58eb9328 authored by Erwan Tulou's avatar Erwan Tulou

skins2: remove a leftover call to FromLocale()

- on Windows, the ressource paths are already UTF8 encoded. bug fixed
- on Linux, the function is a noop
- on OS2, config_GetDataDir() may need a fix (two paths, the former returns
locale, the latter UTF8)
parent 51299c84
......@@ -135,17 +135,14 @@ ThemeRepository::~ThemeRepository()
}
void ThemeRepository::parseDirectory( const string &rDir_locale )
void ThemeRepository::parseDirectory( const string &rDir )
{
const char *pszDirContent;
// Path separator
const string &sep = OSFactory::instance( getIntf() )->getDirSeparator();
// Open the dir
// FIXME: parseDirectory should be invoked with UTF-8 input instead!!
string rDir = sFromLocale( rDir_locale );
DIR *pDir = vlc_opendir( rDir.c_str() );
if( pDir == NULL )
{
// An error occurred
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment