Minor correction to previous commit.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19357 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-05-16 21:45:19 +00:00
parent e7d5af0253
commit 045d4d78cd

5
Gorm.m
View file

@ -758,12 +758,11 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification";
{
NSMenu *testMenu;
testMenu = [[NSMenu alloc] initWithTitle: _(@"Test")];
testMenu = [[NSMenu alloc] initWithTitle: _(@"Test Menu")];
[testMenu addItemWithTitle: _(@"Quit")
action: @selector(deferredEndTesting:)
keyEquivalent: @"q"];
[self setMainMenu: testMenu];
RELEASE(testMenu);
[self setMainMenu: testMenu]; // released, when the menu is reset in endTesting.
}
else
{