minor bug

This commit is contained in:
Egan Ford 2017-04-08 22:04:07 -06:00
parent 686ac49d04
commit 35da6e5d99
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -33,9 +33,9 @@ int main()
while((c = getchar()) != EOF) {
if(c == '\r') // windows trash
continue;
if(columns > 40) // user didn't read the docs
if(columns > 39) // user didn't read the docs
continue;
if(lines > 24) // ditto
if(lines > 23) // ditto
break;
if(c == '\n') { // end of line
columns=0;