mirror of https://github.com/datajerk/c2d.git
minor bug
This commit is contained in:
parent
686ac49d04
commit
35da6e5d99
BIN
bin/text2page
BIN
bin/text2page
Binary file not shown.
Binary file not shown.
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue