Commit 44d336b3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed crash when converting strings

parent bee6a5cf
......@@ -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 )
{
......
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