mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Corrected compilation issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25433 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
621b49441a
commit
aed6296957
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-09-01 16:24-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/0Menus/GormNSMenu.m: Correction for compilation issue
|
||||
found by Riccardo. Code was improperly using protected _superMenu
|
||||
variable directly.
|
||||
|
||||
2007-08-24 22:36-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Resources/VersionProfiles.plist: Added version information for
|
||||
|
|
|
@ -213,7 +213,7 @@
|
|||
|
||||
- (NSString*) _locationKey
|
||||
{
|
||||
if (_superMenu == nil)
|
||||
if ([self supermenu] == nil)
|
||||
{
|
||||
if ([NSApp mainMenu] == self)
|
||||
{
|
||||
|
@ -224,13 +224,13 @@
|
|||
return nil; /* Unused menu. */
|
||||
}
|
||||
}
|
||||
else if (_superMenu->_superMenu == nil)
|
||||
else if ([[self supermenu] supermenu] == nil)
|
||||
{
|
||||
return [NSString stringWithFormat: @"\033%@", [self title]];
|
||||
}
|
||||
else
|
||||
{
|
||||
return [[_superMenu _locationKey] stringByAppendingFormat: @"\033%@",
|
||||
return [[[self supermenu] locationKey] stringByAppendingFormat: @"\033%@",
|
||||
[self title]];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue