Skip to content
Snippets Groups Projects
Commit d4569942 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

core: update: Fix winstore detection


(cherry picked from commit c15e2691)
Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 306a43b5
No related branches found
No related tags found
No related merge requests found
...@@ -728,7 +728,7 @@ static void* update_DownloadReal( void *obj ) ...@@ -728,7 +728,7 @@ static void* update_DownloadReal( void *obj )
psz_msg ); psz_msg );
if(answer == 1) if(answer == 1)
{ {
#ifndef VLC_WINSTORE_APP #if !VLC_WINSTORE_APP
wchar_t psz_wdestfile[MAX_PATH]; wchar_t psz_wdestfile[MAX_PATH];
MultiByteToWideChar( CP_UTF8, 0, psz_destfile, -1, psz_wdestfile, MAX_PATH ); MultiByteToWideChar( CP_UTF8, 0, psz_destfile, -1, psz_wdestfile, MAX_PATH );
answer = (int)ShellExecuteW( NULL, L"open", psz_wdestfile, NULL, NULL, SW_SHOW); answer = (int)ShellExecuteW( NULL, L"open", psz_wdestfile, NULL, NULL, SW_SHOW);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment