Commit 698c5d06 authored by Benjamin Pracht's avatar Benjamin Pracht

Also fallis back to C string if UTF8 string fails in proprieties window.

parent 60421fb8
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>IBDocumentLocation</key> <key>IBDocumentLocation</key>
<string>486 129 505 517 0 0 1024 746 </string> <string>409 195 505 517 0 0 1024 746 </string>
<key>IBEditorPositions</key> <key>IBEditorPositions</key>
<dict> <dict>
<key>1617</key> <key>1617</key>
......
...@@ -69,14 +69,16 @@ ...@@ -69,14 +69,16 @@
[o_uri_txt setStringValue: [o_uri_txt setStringValue:
([NSString stringWithUTF8String:p_playlist-> ([NSString stringWithUTF8String:p_playlist->
pp_items[i_item]->psz_uri] == nil ) ? pp_items[i_item]->psz_uri] == nil ) ?
@"" : [NSString stringWithCString:p_playlist->
pp_items[i_item]->psz_uri] :
[NSString stringWithUTF8String:p_playlist-> [NSString stringWithUTF8String:p_playlist->
pp_items[i_item]->psz_uri]]; pp_items[i_item]->psz_uri]];
[o_title_txt setStringValue: [o_title_txt setStringValue:
([NSString stringWithUTF8String:p_playlist-> ([NSString stringWithUTF8String:p_playlist->
pp_items[i_item]->psz_name] == nil ) ? pp_items[i_item]->psz_name] == nil ) ?
@"" : [NSString stringWithCString:p_playlist->
pp_items[i_item]->psz_name] :
[NSString stringWithUTF8String:p_playlist-> [NSString stringWithUTF8String:p_playlist->
pp_items[i_item]->psz_name]]; pp_items[i_item]->psz_name]];
......
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