Commit 8774237
Fixes for Mac OS X
Changed files (2)
Diff
@@ -366,7 +366,7 @@ public class BirdFont { public static bool mac = false; public static bool android = false; public static string exec_path = "";- public static string bundle_path = "";+ public static string? bundle_path = null; public static bool logging = false; public static DataOutputStream? logstream = null;@@ -180,6 +180,11 @@ public class SearchPaths { if (f.query_exists ()) { return f; }++ f = (!) File.new_for_path (BirdFont.bundle_path + "/Contents/Resources/NamesList.txt");+ if (f.query_exists ()) {+ return f;+ } f = (!) File.new_for_path ("/usr/share/unicode/ucd/NamesList.txt"); if (f.query_exists ()) {