diff options
author | Wojciech A. Koszek <wkoszek@laptop.freebsd.czest.pl> | 2010-01-31 16:56:40 +0000 |
---|---|---|
committer | Wojciech A. Koszek <wkoszek@laptop.freebsd.czest.pl> | 2010-01-31 16:56:40 +0000 |
commit | f087d79ed930a11c999cc4e7def50f181cabb0c7 (patch) | |
tree | 789e227c3410d86e90522bbf0aee122291473901 /jim.c | |
parent | 8dcefbef21a0f198749a3c67a4c4dd3ade2b8bff (diff) | |
download | jimtcl-f087d79ed930a11c999cc4e7def50f181cabb0c7.zip jimtcl-f087d79ed930a11c999cc4e7def50f181cabb0c7.tar.gz jimtcl-f087d79ed930a11c999cc4e7def50f181cabb0c7.tar.bz2 |
If three arguments are passed to 'puts' and the second isn't -nonewline,
return JIM_ERR instead of JIM_OK.
Diffstat (limited to 'jim.c')
-rw-r--r-- | jim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9539,7 +9539,7 @@ static int Jim_PutsCoreCommand(Jim_Interp *interp, int argc, { Jim_SetResultString(interp, "The second argument must " "be -nonewline", -1); - return JIM_OK; + return JIM_ERR; } else { nonewline = 1; argv++; |