]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/win32/win32_factory.cpp
* Fix non linux compilation round 2.
[vlc] / modules / gui / skins2 / win32 / win32_factory.cpp
index be42a67d23aeaf8d2a61c40add41bd39312b3935..603fd93ebd15f5f1d31eac405207b27e9db91038 100644 (file)
@@ -227,13 +227,13 @@ bool Win32Factory::init()
     // Initialize the resource path
     m_resourcePath.push_back( (string)getIntf()->p_libvlc->psz_homedir +
                                "\\" + CONFIG_DIR + "\\skins" );
-    m_resourcePath.push_back( (string)getIntf()->p_libvlc_global->psz_vlcpath +
+    m_resourcePath.push_back( (string)vlc_path( getIntf() ) +
                               "\\skins" );
-    m_resourcePath.push_back( (string)getIntf()->p_libvlc_global->psz_vlcpath +
+    m_resourcePath.push_back( (string)vlc_path( getIntf() ) +
                               "\\skins2" );
-    m_resourcePath.push_back( (string)getIntf()->p_libvlc_global->psz_vlcpath +
+    m_resourcePath.push_back( (string)vlc_path( getIntf() ) +
                               "\\share\\skins" );
-    m_resourcePath.push_back( (string)getIntf()->p_libvlc_global->psz_vlcpath +
+    m_resourcePath.push_back( (string)vlc_path( getIntf() ) +
                               "\\share\\skins2" );
 
     // All went well