]> git.sesse.net Git - vlc/commitdiff
* sorry, forgot to give svn the playlist.m from the previous commit... tztz
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 6 May 2005 17:42:56 +0000 (17:42 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 6 May 2005 17:42:56 +0000 (17:42 +0000)
modules/gui/macosx/playlist.m

index 0214c731bc8dc02e1b771d70f9d33b3c2a8a6008..4040505183d15edce7b656e2301861f160e30910 100644 (file)
@@ -155,7 +155,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
         {
             /* create the menu entries used in the playlist menu */
             o_lmi = [[o_mi_services submenu] addItemWithTitle:
-                     [NSString stringWithCString:
+                     [NSString stringWithUTF8String:
                      p_parser->psz_longname ? p_parser->psz_longname :
                      ( p_parser->psz_shortname ? p_parser->psz_shortname:
                      p_parser->psz_object_name)]
@@ -170,7 +170,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
                 
             /* create the menu entries for the main menu */
             o_lmi = [[o_mm_mi_services submenu] addItemWithTitle:
-                     [NSString stringWithCString:
+                     [NSString stringWithUTF8String:
                      p_parser->psz_longname ? p_parser->psz_longname :
                      ( p_parser->psz_shortname ? p_parser->psz_shortname:
                      p_parser->psz_object_name)]