diff --git a/PCInfoController.h b/PCInfoController.h index 7a602b3..ed94942 100644 --- a/PCInfoController.h +++ b/PCInfoController.h @@ -3,7 +3,7 @@ Copyright (C) 2001 Free Software Foundation - Author: Philippe C.D. Robert + Author: Philippe C.D. Robert This file is part of GNUstep. diff --git a/PCInfoController.m b/PCInfoController.m index 907b6bf..29c6a0f 100644 --- a/PCInfoController.m +++ b/PCInfoController.m @@ -3,7 +3,7 @@ Copyright (C) 2001 Free Software Foundation - Author: Philippe C.D. Robert + Author: Philippe C.D. Robert This file is part of GNUstep. @@ -27,10 +27,6 @@ #include "PCInfoController.h" #include -#if defined(GNUSTEP) -#include -#endif - @implementation PCInfoController - (id)init @@ -38,21 +34,22 @@ if ((self = [super init])) { NSString *file; - file = [[NSBundle mainBundle] - pathForResource:@"Info-gnustep" - ofType:@"plist"]; + file = [[NSBundle mainBundle] pathForResource:@"Info-gnustep" + ofType:@"plist"]; + infoDict = [NSDictionary dictionaryWithContentsOfFile:file]; - [infoDict retain]; + RETAIN(infoDict); } return self; } - (void)dealloc { - [infoDict release]; + RELEASE(infoDict); - if (infoWindow) { - [infoWindow release]; + if (infoWindow) + { + RELEASE(infoWindow); } [super dealloc];