]> git.sesse.net Git - vlc/commitdiff
Fixed bool/int mix up with "intf-show".
authorLaurent Aimar <fenrir@videolan.org>
Tue, 6 Jan 2009 22:08:29 +0000 (23:08 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 7 Jan 2009 19:29:16 +0000 (20:29 +0100)
modules/gui/skins2/src/vlcproc.cpp

index fb42c1adf11868a942ac364b791ca6695dfff5f4..e2df571d4e2bed34758b141e223cd203703aa227 100644 (file)
@@ -421,7 +421,7 @@ int VlcProc::onIntfShow( vlc_object_t *pObj, const char *pVariable,
                          vlc_value_t oldVal, vlc_value_t newVal,
                          void *pParam )
 {
-    if (newVal.i_int)
+    if (newVal.b_bool)
     {
         VlcProc *pThis = (VlcProc*)pParam;