]> git.sesse.net Git - vlc/commitdiff
* only show last part of of file/url name in the playlist.
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 10 Feb 2003 21:54:03 +0000 (21:54 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 10 Feb 2003 21:54:03 +0000 (21:54 +0000)
modules/gui/macosx/playlist.m

index 34cbbd3f585ee51c0f7850c88edb99a3035f8ada..b62baf271b8dfbd7ceabd8f97faf0509d089f090 100644 (file)
@@ -2,7 +2,7 @@
  * playlist.m: MacOS X interface plugin
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: playlist.m,v 1.8 2003/02/07 01:31:14 hartman Exp $
+ * $Id: playlist.m,v 1.9 2003/02/10 21:54:03 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *
     }
 
     vlc_mutex_lock( &p_playlist->object_lock );
-    o_value = [NSString stringWithUTF8String: 
-        p_playlist->pp_items[i_row]->psz_name]; 
+    o_value = [[NSString stringWithUTF8String: 
+        p_playlist->pp_items[i_row]->psz_name] lastPathComponent]
     vlc_mutex_unlock( &p_playlist->object_lock ); 
 
     vlc_object_release( p_playlist );