diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/acme/rows.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/acme/rows.c b/src/cmd/acme/rows.c index a078a698..c60f4102 100644 --- a/src/cmd/acme/rows.c +++ b/src/cmd/acme/rows.c @@ -164,8 +164,6 @@ rowdragcol(Row *row, Column *c, int _0) error("can't find column"); Found: - if(i == 0) - return; p = mouse->xy; if((abs(p.x-op.x)<5 && abs(p.y-op.y)<5)) return; @@ -182,6 +180,8 @@ rowdragcol(Row *row, Column *c, int _0) colmousebut(c); return; } + if(i == 0) + return; d = row->col[i-1]; if(p.x < d->r.min.x+80+Scrollwid) p.x = d->r.min.x+80+Scrollwid; |