]> git.sesse.net Git - vlc/blobdiff - src/misc/linux_specific.c
Move psz_vlcpath out of p_root
[vlc] / src / misc / linux_specific.c
index 0a4be0ad7988c03822b9c20d456e4df35106b0a4..6dbf25eb7b7462704967a9add9959d39d123e2b3 100644 (file)
@@ -36,7 +36,7 @@ static void set_libvlc_path (void)
 
     assert (strlen (LIBDIR) < sizeof (libvlc_path));
     strcpy (libvlc_path, LIBDIR); /* fail safe */
-    vlc_global ()->psz_vlcpath = libvlc_path;
+    psz_vlcpath = libvlc_path;
 
     /* Find the path to libvlc (i.e. ourselves) */
     FILE *maps = fopen ("/proc/self/maps", "rt");