Skip to content

Commit b701d52

Browse files
committed
Fix minor issue with font installation
1 parent 73be2c2 commit b701d52

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Source/fontconfig/FCFontAssetInstaller.m

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,8 @@ - (BOOL) installFontPath: (NSString *)fontPath error: (NSError **)error
116116
NSString *filename = [fontPath lastPathComponent];
117117
NSString *destinationDir;
118118

119-
// Determine installation directory based on options
120-
destinationDir = [self systemFontsDirectory];
121-
if (destinationDir == nil)
122-
{
123-
destinationDir = [self userFontsDirectory];
124-
}
125-
119+
// Determine installation directory...
120+
destinationDir = [self userFontsDirectory];
126121
if (destinationDir == nil)
127122
{
128123
if (error != NULL)

0 commit comments

Comments
 (0)