From 0d64492cf0efca64ba8c0a2ebede2543ca8fe47a Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 14 Jul 2008 13:06:59 -0400 Subject: [PATCH] Code formatting --- Source/BSSourceView.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/BSSourceView.m b/Source/BSSourceView.m index 99f1364..6054a94 100644 --- a/Source/BSSourceView.m +++ b/Source/BSSourceView.m @@ -64,18 +64,18 @@ @try { // Attempt to use the PHP CLI to highlight the source file as HTML - NSPipe* pipe = [NSPipe pipe]; - NSTask* task = [[NSTask new] autorelease]; + NSPipe *pipe = [NSPipe pipe]; + NSTask *task = [[NSTask new] autorelease]; [task setLaunchPath:@"/usr/bin/php"]; // This is the path to the default Leopard PHP executable [task setArguments:[NSArray arrayWithObjects:@"-s", f, nil]]; [task setStandardOutput:pipe]; [task launch]; - NSData* data = [[pipe fileHandleForReading] readDataToEndOfFile]; - NSAttributedString* source = [[NSAttributedString alloc] initWithHTML:data documentAttributes:NULL]; + NSData *data = [[pipe fileHandleForReading] readDataToEndOfFile]; + NSAttributedString *source = [[NSAttributedString alloc] initWithHTML:data documentAttributes:NULL]; [[textView textStorage] setAttributedString:source]; [source release]; } - @catch (NSException* exception) + @catch (NSException *exception) { // If the PHP executable is not available then the NSTask will throw an exception [textView setString:[NSString stringWithContentsOfFile:f]]; -- 2.22.5