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…
Add table
Add a link
Reference in a new issue