From 2527204515db7621e3ad1d3e4c5a92b14b74bf5b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 8 Nov 2015 11:44:39 -0800 Subject: [PATCH] Get the filesystem representation of urls rather than an absolute url --- src/font_file_lister_coretext.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font_file_lister_coretext.mm b/src/font_file_lister_coretext.mm index dbe6589d2..f6b35d9f1 100644 --- a/src/font_file_lister_coretext.mm +++ b/src/font_file_lister_coretext.mm @@ -45,7 +45,7 @@ void process_font(CollectionResult& ret, NSFontDescriptor *font, int bold, bool } } - ret.paths.push_back(url.absoluteString.UTF8String); + ret.paths.push_back(url.fileSystemRepresentation); } }