mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
parent
65a5e5fe46
commit
da7e3a5d39
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ textdelete(Text *t, uint q0, uint q1, int tofile)
|
|||
}
|
||||
}
|
||||
}
|
||||
if(t->iq1 < t->q0)
|
||||
if(q0 < t->iq1)
|
||||
t->iq1 -= min(n, t->iq1-q0);
|
||||
if(q0 < t->q0)
|
||||
t->q0 -= min(n, t->q0-q0);
|
||||
|
|
Loading…
Reference in a new issue