Kaydet (Commit) 4e35c379 authored tarafından Minh Ngo's avatar Minh Ngo

Possible fixes encoding in the VLC library path.

If it's in the UTF-8 encoding.

Change-Id: I938341e0ae5851b1c5301cd11042f4056bbe8e05
üst 3ad6bb1b
......@@ -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 );
......
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