diff --git a/Source/fontconfig/FCFontAssetInstaller.m b/Source/fontconfig/FCFontAssetInstaller.m index ace46cd3..7bde1386 100644 --- a/Source/fontconfig/FCFontAssetInstaller.m +++ b/Source/fontconfig/FCFontAssetInstaller.m @@ -158,7 +158,7 @@ - (BOOL) installFontPath: (NSString *)fontPath error: (NSError **)error // Remove existing font file if present if ([[NSFileManager defaultManager] fileExistsAtPath: destinationPath]) { - [[NSFileManager defaultManager] removeItemAtPath: destinationPath error: nil]; + [[NSFileManager defaultManager] removeItemAtPath: destinationPath error: NULL]; } if (![[NSFileManager defaultManager] copyItemAtPath: fontPath