Fix last showing one result less than expected - notes - a console notes manage… | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 5944d7a893a61d765f0c8188ad2785c92bd18eb7 | |
parent 98fa7fdc23e77524db1e3e72ca6a553636825698 | |
Author: Solene Rapenne <[email protected]> | |
Date: Thu, 9 Aug 2018 14:54:16 +0200 | |
Fix last showing one result less than expected | |
Diffstat: | |
M notes | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/notes b/notes | |
@@ -122,7 +122,7 @@ last() { | |
if(seen[file]==1) { | |
if(limit != "") { | |
output++; | |
- if(output < limit) { | |
+ if(output <= limit) { | |
printf("%20s: %s\n", date, f… | |
} | |
} else { |