mirror of
https://github.com/datajerk/c2d.git
synced 2026-04-20 22:16:43 +00:00
minor bug
This commit is contained in:
Binary file not shown.
Binary file not shown.
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user