On OSes other than Windows, Mac OS X and BeOS (so it's Linux) comply with the XDG...
[vlc.git] / modules / gui / skins2 / win32 / win32_factory.cpp
index 7eb2532..286712b 100644 (file)
@@ -225,9 +225,9 @@ 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)config_GetDataDir() +
+    m_resourcePath.push_back( (string)getIntf()->p_libvlc->psz_datadir +
+                               "\\skins" );
+    m_resourcePath.push_back( (dstring)config_GetDataDir() +
                               "\\skins" );
     m_resourcePath.push_back( (string)config_GetDataDir() +
                               "\\skins2" );