Various little fixes.

This commit is contained in:
rsc 2004-03-05 03:13:13 +00:00
parent c91bd3283a
commit 4da83e7cce
7 changed files with 13 additions and 7 deletions

View file

@ -472,7 +472,7 @@ coldragwin(Column *c, Window *w, int but)
}
/* is it a flick to the right? */
if(abs(p.y-op.y)<10 && p.x>op.x+30 && rowwhichcol(c->row, p)==c)
p.x += Dx(w->r); /* yes: toss to next column */
p.x = op.x+Dx(w->r); /* yes: toss to next column */
nc = rowwhichcol(c->row, p);
if(nc!=nil && nc!=c){
colclose(c, w, FALSE);