We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73be2c2 commit b701d52Copy full SHA for b701d52
Source/fontconfig/FCFontAssetInstaller.m
@@ -116,13 +116,8 @@ - (BOOL) installFontPath: (NSString *)fontPath error: (NSError **)error
116
NSString *filename = [fontPath lastPathComponent];
117
NSString *destinationDir;
118
119
- // Determine installation directory based on options
120
- destinationDir = [self systemFontsDirectory];
121
- if (destinationDir == nil)
122
- {
123
- destinationDir = [self userFontsDirectory];
124
- }
125
-
+ // Determine installation directory...
+ destinationDir = [self userFontsDirectory];
126
if (destinationDir == nil)
127
{
128
if (error != NULL)
0 commit comments