Fix /HISTORY *pattern* and /HISTORY -CLEAR

This code contained a bug where any argument to /HISTORY that _didn't_ start with "-CL" would clear history,
so no number or pattern argument could successfully be passed.

With this fix only an argument that case-insensitively matches "-clear" will clear history, so a pattern
argument will also work correctly.
This commit is contained in:
Kevin Easton
2018-11-05 23:25:01 +11:00
parent a3e8364bc9
commit d897a3b753
2 changed files with 13 additions and 12 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2.2]
* Fix /HISTORY *pattern* and /HISTORY -CLEAR. (caf)
* Fix /SET TAB OFF. (caf)
* Count columns used by ND_SPACE character when splitting lines. (caf)