chage_input('*') no longer over indexes

This commit is contained in:
anon 2023-09-03 00:46:49 +02:00
parent 4ed1df9929
commit 52681b138f

View File

@ -345,7 +345,7 @@ int change_input(const int c) {
switch(c) {
case '*': /* invert page */
for(int i = 0; topref + i < nextline; i++) {
for(int i = 0; i < nextline-1; i++) {
change[topref + i] = !change[topref + i];
}
window_change |= CH_RESULT;