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

Revert "macosx: fixed crash when converting strings"

This reverts commit f7a1db99.
parent 7e523c68
...@@ -1178,7 +1178,7 @@ static NSString * VLCToolbarMediaControl = @"VLCToolbarMediaControl"; ...@@ -1178,7 +1178,7 @@ static NSString * VLCToolbarMediaControl = @"VLCToolbarMediaControl";
if( psz != NULL ) if( psz != NULL )
{ {
o_str = [[[NSString alloc] initWithFormat:@"%s", psz] autorelease]; o_str = [[[NSString alloc] initWithUTF8String: psz] autorelease];
if( o_str == NULL ) 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