]> git.sesse.net Git - vlc/blobdiff - src/misc/win32_specific.c
Qt: actions_manager: Change constructor and inline some functions.
[vlc] / src / misc / win32_specific.c
index 8daf1fa0a9619c985c2c50cc2ae4672133fd2f1b..a596502a0a5fb3f7c328fc645e74aee592718c65 100644 (file)
@@ -348,8 +348,10 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
                   NULL, PLAYLIST_APPEND |
                         ( ( i_opt || p_data->enqueue ) ? 0 : PLAYLIST_GO ),
                   PLAYLIST_END, -1,
+                  i_options,
                   (char const **)( i_options ? &ppsz_argv[i_opt+1] : NULL ),
-                  i_options, true, pl_Unlocked );
+                  VLC_INPUT_OPTION_TRUSTED,
+                  true, pl_Unlocked );
 
                 i_opt += i_options;
             }
@@ -375,7 +377,7 @@ void system_End( libvlc_int_t *p_this )
         psz_vlcpath = NULL;
     }
 
-    if( ipcwindow = FindWindow( 0, L"VLC ipc "VERSION ) )
+    if( ( ipcwindow = FindWindow( 0, L"VLC ipc "VERSION ) ) != 0 )
     {
         SendMessage( ipcwindow, WM_QUIT, 0, 0 );
     }