[vlc-devel] commit: Fixed bool/int mix up with "intf-show". (Laurent Aimar )

git version control git at videolan.org
Wed Jan 7 20:29:35 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jan  6 23:08:29 2009 +0100| [5f033381c0736041198bae013790ed8929034a72] | committer: Laurent Aimar 

Fixed bool/int mix up with "intf-show".

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

 modules/gui/skins2/src/vlcproc.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/skins2/src/vlcproc.cpp b/modules/gui/skins2/src/vlcproc.cpp
index fb42c1a..e2df571 100644
--- a/modules/gui/skins2/src/vlcproc.cpp
+++ b/modules/gui/skins2/src/vlcproc.cpp
@@ -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;
 




More information about the vlc-devel mailing list