Explorar o código

Use NULL over nil for non-object pointer for consistency.

Ryan Olson %!s(int64=12) %!d(string=hai) anos
pai
achega
5a34e1eedf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Classes/Utility/FLEXUtility.m

+ 1 - 1
Classes/Utility/FLEXUtility.m

@@ -136,7 +136,7 @@
                                 @"«" : @"«",
                                 @"»" : @"»"
                                 };
-        regex = [NSRegularExpression regularExpressionWithPattern:@"(&|>|<|'|\"|«|»)" options:0 error:nil];
+        regex = [NSRegularExpression regularExpressionWithPattern:@"(&|>|<|'|\"|«|»)" options:0 error:NULL];
     });
     
     NSMutableString *mutableString = [originalString mutableCopy];