vlc | branch: master | Felix Paul Kühne <[email protected]> | Sun Jun 5 20:48:35 2011 +0200| [44d336b3940f1a6192eef39cb94f14eff46f996e] | committer: Felix Paul Kühne
macosx: fixed crash when converting strings > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44d336b3940f1a6192eef39cb94f14eff46f996e --- 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 e36d2f8..41a50f9 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1170,7 +1170,7 @@ static NSString * VLCToolbarMediaControl = @"VLCToolbarMediaControl"; if( psz != NULL ) { - o_str = [[[NSString alloc] initWithUTF8String: psz] autorelease]; + o_str = [[[NSString alloc] initWithFormat:@"%s", psz] autorelease]; if( o_str == NULL ) { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
