From f25754813eb80db1676fe3e13e21b9933430adab Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 12 Sep 2010 01:43:03 +0900 Subject: [PATCH] Fix some bitrot. I'm not happy with the fix in Controller.m, but I'm not sure what the best way to fix it is. --- tools/Forge/Bundles/MainPrefs/MainPrefs.m | 1 + tools/Forge/Controller.m | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/Forge/Bundles/MainPrefs/MainPrefs.m b/tools/Forge/Bundles/MainPrefs/MainPrefs.m index e488b2cb7..feb794a81 100644 --- a/tools/Forge/Bundles/MainPrefs/MainPrefs.m +++ b/tools/Forge/Bundles/MainPrefs/MainPrefs.m @@ -38,6 +38,7 @@ static const char rcsid[] = #include #include #include +#include #include #include diff --git a/tools/Forge/Controller.m b/tools/Forge/Controller.m index bb777e326..5a4a07dc0 100644 --- a/tools/Forge/Controller.m +++ b/tools/Forge/Controller.m @@ -204,7 +204,8 @@ static const char rcsid[] = return; } - [[(id ) [aBundle principalClass] alloc] initWithOwner: self]; + //[[(id ) [aBundle principalClass] alloc] initWithOwner: self]; + [[(id ) [aBundle principalClass] alloc] initWithOwner: self]; } - (PrefsController *) prefsController;