Преглед изворни кода

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

Ryan Olson пре 12 година
родитељ
комит
5a34e1eedf
1 измењених фајлова са 1 додато и 1 уклоњено
  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];