Commit f7a1db99 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed crash when converting strings

parent 4df0431d
......@@ -1178,7 +1178,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 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment