aboutsummaryrefslogtreecommitdiffstats
path: root/Source/MGTemplateEngine.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/MGTemplateEngine.m')
-rw-r--r--Source/MGTemplateEngine.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/MGTemplateEngine.m b/Source/MGTemplateEngine.m
index a6e15c2a..941a7e1b 100644
--- a/Source/MGTemplateEngine.m
+++ b/Source/MGTemplateEngine.m
@@ -408,12 +408,12 @@
nil], GLOBAL_ENGINE_DELIMITERS,
nil]
forKey:GLOBAL_ENGINE_GROUP];
- [_globals setObject:[NSNumber numberWithBool:YES] forKey:@"true"];
- [_globals setObject:[NSNumber numberWithBool:NO] forKey:@"false"];
- [_globals setObject:[NSNumber numberWithBool:YES] forKey:@"YES"];
- [_globals setObject:[NSNumber numberWithBool:NO] forKey:@"NO"];
- [_globals setObject:[NSNumber numberWithBool:YES] forKey:@"yes"];
- [_globals setObject:[NSNumber numberWithBool:NO] forKey:@"no"];
+ [_globals setObject:@YES forKey:@"true"];
+ [_globals setObject:@NO forKey:@"false"];
+ [_globals setObject:@YES forKey:@"YES"];
+ [_globals setObject:@NO forKey:@"NO"];
+ [_globals setObject:@YES forKey:@"yes"];
+ [_globals setObject:@NO forKey:@"no"];
_outputDisabledCount = 0;
[templateContents release];
templateContents = [templateString retain];