Commit 999533ac authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: fixed Reveal-in-Finder for eastern european umlauts and probably other...

macosx: fixed Reveal-in-Finder for eastern european umlauts and probably other characters without a ISO-Latin fallback (close #7631)
parent 82e41d14
......@@ -792,7 +792,10 @@
if (! p_item || !p_item->p_input)
continue;
o_mrl = [[NSMutableString alloc] initWithFormat: @"%s", decode_URI(input_item_GetURI(p_item->p_input))];
char * psz_url = decode_URI(input_item_GetURI(p_item->p_input));
o_mrl = [[NSMutableString alloc] initWithString: [NSString stringWithUTF8String: psz_url ? psz_url : ""]];
if (psz_url != NULL)
free( psz_url );
/* perform some checks whether it is a file and if it is local at all... */
if ([o_mrl length] > 0) {
......
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