Explorar el Código

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

Ryan Olson hace 12 años
padre
commit
5a34e1eedf
Se han modificado 1 ficheros con 1 adiciones y 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];