[vlc-devel] commit: Fix warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jan 18 16:01:35 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jan 18 16:59:21 2009 +0200| [95f6fae3ce511f43c23a726c4a83e117cc55d6dc] | committer: Rémi Denis-Courmont 

Fix warning

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

 src/misc/win32_specific.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/win32_specific.c b/src/misc/win32_specific.c
index fecb447..a596502 100644
--- a/src/misc/win32_specific.c
+++ b/src/misc/win32_specific.c
@@ -377,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 );
     }




More information about the vlc-devel mailing list