chage_input('*') no longer over indexes
This commit is contained in:
parent
4ed1df9929
commit
52681b138f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user