git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39176 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-11-18 11:42:21 +00:00
parent 1f8f656b8b
commit 4d6eb93eb8

View file

@ -3052,11 +3052,17 @@ NSLog(@"Ignored attempt to set timer interval to %g ... using 10.0", interval);
[cmdDefs setCommand: val forKey: key];
val = [cmdDefs objectForKey: key];
}
else if ([mode caseInsensitiveCompare: @"read"] == NSOrderedSame)
{
val = [cmdDefs objectForKey: key];
}
else
{
/* To be tolerant of typing errors, anything else is
* treated as a 'read'
/* To be tolerant of typing errors and maintain backward
* compatibility, anything else is treated as a 'read'
*/
[self cmdPrintf: @"Unrecognised command '%@' (assume 'read').\n",
key];
val = [cmdDefs objectForKey: key];
}
if (val == old || [val isEqual: old])