mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Make sure an action name of ":" gets ignored.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27534 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
867f00bff9
commit
07a4efe71d
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* GormCore/GormClassManager.m (-nibData): Make sure an action name
|
||||
of ":" gets ignored.
|
||||
|
||||
2008-12-26 13:53-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Version: 1.2.8
|
||||
|
|
|
@ -1260,8 +1260,8 @@
|
|||
NSString *actionName = nil;
|
||||
NSScanner *scanner = [NSScanner scannerWithString: action];
|
||||
|
||||
[scanner scanUpToString: @":" intoString: &actionName];
|
||||
[actionDict setObject: @"id" forKey: actionName];
|
||||
if ([scanner scanUpToString: @":" intoString: &actionName])
|
||||
[actionDict setObject: @"id" forKey: actionName];
|
||||
}
|
||||
|
||||
[newInfo setObject: actionDict forKey: @"ACTIONS"];
|
||||
|
@ -1310,8 +1310,8 @@
|
|||
NSString *actionName = nil;
|
||||
NSScanner *scanner = [NSScanner scannerWithString: action];
|
||||
|
||||
[scanner scanUpToString: @":" intoString: &actionName];
|
||||
[actionDict setObject: @"id" forKey: actionName];
|
||||
if ([scanner scanUpToString: @":" intoString: &actionName])
|
||||
[actionDict setObject: @"id" forKey: actionName];
|
||||
}
|
||||
|
||||
[newInfo setObject: actionDict forKey: @"ACTIONS"];
|
||||
|
|
Loading…
Reference in a new issue