diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-08 22:25:23 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-08 22:25:23 +0200 |
commit | 0b6f559ebca69f6ad8b73d376d08d77df27f11bb (patch) | |
tree | c314673a88acdb85b15327acda5b7438acad25e2 /sys/src/cmd/mothra/libpanel/edit.c | |
parent | 5b35bbce54fda77e65f0264ea93776e154cada18 (diff) |
mothra: edit selection fix
Diffstat (limited to 'sys/src/cmd/mothra/libpanel/edit.c')
-rw-r--r-- | sys/src/cmd/mothra/libpanel/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/mothra/libpanel/edit.c b/sys/src/cmd/mothra/libpanel/edit.c index f4019fa9b..27bbf435f 100644 --- a/sys/src/cmd/mothra/libpanel/edit.c +++ b/sys/src/cmd/mothra/libpanel/edit.c @@ -106,7 +106,7 @@ void pl_snarfedit(Panel *p, int cut){ */ int pl_hitedit(Panel *p, Mouse *m){ Edit *ep; - if(m->buttons&7){ + if((m->buttons&7)==1){ ep=p->data; ep->t->b=p->b; twhilite(ep->t, ep->sel0, ep->sel1, 0); |