]> git.sesse.net Git - vlc/commitdiff
* src/modules/modules.c: hopefully fix compilation for non linux builds.
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 20 May 2007 13:38:53 +0000 (13:38 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 20 May 2007 13:38:53 +0000 (13:38 +0000)
src/modules/modules.c

index a0efd3883e63bfe70895b4c3be354b227ef9aa04..a31840f7e38c06b0fc05fa1f5b482409c2dfead6 100644 (file)
@@ -802,8 +802,8 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
         if( (*ppsz_path)[0] != '/' )
 #endif
         {
-            if( 0>= asprintf(&psz_fullpath, "%s"DIR_SEP"%s",
-                          p_this->p_libvlc_global->psz_vlcpath, *ppsz_path) )
+            if( 0>= asprintf( &psz_fullpath, "%s"DIR_SEP"%s",
+                              vlc_global( p_this )->psz_vlcpath, *ppsz_path) )
                 psz_fullpath = NULL;
         }
         else