From b3c34d1580d3c9c5e39b1db8a9ef2844e80f5709 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Fri, 20 Jun 2008 20:55:22 +0300 Subject: [PATCH] Compile fixes (untested) --- modules/gui/skins2/src/skin_main.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/gui/skins2/src/skin_main.cpp b/modules/gui/skins2/src/skin_main.cpp index a994c7a9c1..cf55bb51f9 100644 --- a/modules/gui/skins2/src/skin_main.cpp +++ b/modules/gui/skins2/src/skin_main.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include "dialogs.hpp" #include "os_factory.hpp" @@ -262,15 +263,15 @@ static int WindowOpen( vlc_object_t *p_this ) intf_thread_t *pIntf = (intf_thread_t *) vlc_object_find_name( p_this, "skins2", FIND_ANYWHERE ); - if( p_intf == NULL ) + if( pIntf == NULL ) return VLC_EGENERIC; /* FIXME: most probably not thread-safe, * albeit no worse than ever before */ - pWind->handle = VlcProc::getWindow( pIntf, pWnd->vout, - &pWnd->pos_x, &pWnd->pos_y, - &pWnd->width, &pWnd->height ); - pWnd->p_private = p_intf; + pWnd->handle = VlcProc::getWindow( pIntf, pWnd->vout, + &pWnd->pos_x, &pWnd->pos_y, + &pWnd->width, &pWnd->height ); + pWnd->p_private = pIntf; pWnd->control = &VlcProc::controlWindow return VLC_SUCCESS; } -- 2.39.2