diff options
author | Minh Ngo <nlminhtl@gmail.com> | 2013-09-02 13:33:58 +0300 |
---|---|---|
committer | Minh Ngo <nlminhtl@gmail.com> | 2013-09-02 13:34:54 +0300 |
commit | 4e35c379aa63b197110193ce134dd3b26cff0644 (patch) | |
tree | 63cc5c130706e61f8e727a49f9f23d8da11aaad1 /avmedia | |
parent | 3ad6bb1b3e373a97250e87a30770139052e7eaf6 (diff) |
Possible fixes encoding in the VLC library path.
If it's in the UTF-8 encoding.
Change-Id: I938341e0ae5851b1c5301cd11042f4056bbe8e05
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/vlc/wrapper/SymbolLoader.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx index 1835e4386277..ae4cf668d740 100644 --- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx +++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx @@ -48,7 +48,7 @@ namespace if ( ::RegQueryValueEx( hKey, _T( "InstallDir" ), NULL, &dwType, ( LPBYTE )arCurrent, &dwCurrentSize ) == ERROR_SUCCESS ) { ::RegCloseKey( hKey ); - return OUString::createFromAscii( arCurrent ) + "/"; + return OUString( arCurrent, MAX_PATH, rtl_TextEncoding, RTL_TEXTENCODING_UTF8 ) + "/"; } ::RegCloseKey( hKey ); |