misc/darwin_specific.c: Fix framework detection code.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 21 Oct 2007 11:30:35 +0000 (11:30 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 21 Oct 2007 11:30:35 +0000 (11:30 +0000)
src/misc/darwin_specific.c

index f14d54b..dd75cce 100644 (file)
@@ -76,7 +76,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
     for (i = 0; i < _dyld_image_count(); i++)
     {
         char * psz_img_name = _dyld_get_image_name(i);
-        if( strstr( psz_img_name, "VLC.framework/Version/Current/VLC" ) )
+        if( strstr( psz_img_name, "VLC.framework/Versions/Current/VLC" ) )
             p_char = strdup( psz_img_name );
     }