vlc/vlc-1.1 | branch: master | Felix Paul Kühne <[email protected]> | Sun Jun 5 22:21:48 2011 +0200| [c480523065b13a446559bffb45ab275a17fc728d] | committer: Felix Paul Kühne
Revert "macosx: fixed crash when converting strings" This reverts commit f7a1db99be1a1aec6749f33e25e48232699d8308. > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=c480523065b13a446559bffb45ab275a17fc728d --- modules/gui/macosx/intf.m | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index fe49d88..8abc6be 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1178,7 +1178,7 @@ static NSString * VLCToolbarMediaControl = @"VLCToolbarMediaControl"; if( psz != NULL ) { - o_str = [[[NSString alloc] initWithFormat:@"%s", psz] autorelease]; + o_str = [[[NSString alloc] initWithUTF8String: psz] autorelease]; if( o_str == NULL ) { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
