[vlc-commits] core: update: Fix winstore detection

Hugo Beauzée-Luyssen git at videolan.org
Mon May 10 14:00:31 UTC 2021


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon May 10 12:07:07 2021 +0200| [d456994213b98933664bd6aee2e8f09d5dea5628] | committer: Hugo Beauzée-Luyssen

core: update: Fix winstore detection

(cherry picked from commit c15e2691ef24b1eae01b29dca8fcbdfed64963ed)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=d456994213b98933664bd6aee2e8f09d5dea5628
---

 src/misc/update.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/update.c b/src/misc/update.c
index 6c5a231bce..b7e1420dfa 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -728,7 +728,7 @@ static void* update_DownloadReal( void *obj )
                                            psz_msg );
     if(answer == 1)
     {
-#ifndef VLC_WINSTORE_APP
+#if !VLC_WINSTORE_APP
         wchar_t 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);



More information about the vlc-commits mailing list