* 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 a0efd38..a31840f 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