mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-14 23:51:40 +00:00
fixup for adding a new debug mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@40506 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7e58dbe873
commit
1d3916581b
1 changed files with 8 additions and 0 deletions
|
@ -2590,6 +2590,14 @@ NSLog(@"Ignored attempt to set timer interval to %g ... using 10.0", interval);
|
|||
- (void) setCmdDebug: (NSString*)mode withDescription: (NSString*)desc
|
||||
{
|
||||
[cmdDebugKnown setObject: desc forKey: mode];
|
||||
if (YES == [cmdDefs boolForKey: [@"Debug-" stringByAppendingString: mode]])
|
||||
{
|
||||
[cmdDebugModes addObject: mode];
|
||||
}
|
||||
else
|
||||
{
|
||||
[cmdDebugModes removeObject: mode];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) setCmdTimeout: (SEL)sel
|
||||
|
|
Loading…
Reference in a new issue