mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-23 03:41:23 +00:00
minor command parsing fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@36841 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0666e60141
commit
a23d16e9e0
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-07-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* EcConsole.m: Strip spaces from command line to avoid a space
|
||||
at end of line causing the line terminator to be treated as an
|
||||
argument.
|
||||
|
||||
2013-04-07 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* EcControl.m:
|
||||
|
|
|
@ -208,6 +208,7 @@ static BOOL commandIsRepeat (NSString *string)
|
|||
[self cmdQuit: 0];
|
||||
}
|
||||
|
||||
_line = [_line stringByTrimmingSpaces]; // Remove trailing newline
|
||||
if ([_line length] == 0)
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue