diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/9term/9term.c | 3 | ||||
-rw-r--r-- | src/cmd/dict/dict.c | 1 | ||||
-rw-r--r-- | src/cmd/mkfile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 1b65b88c..ef51d864 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -318,7 +318,8 @@ aselect(uint *q0, uint *q1, Image *color) } /* clicked inside previous selection */ - if(oldq0 <= newq0 && newq0 < oldq1){ + /* the "<=" in newq0 <= oldq1 allows us to click the right edge */ + if(oldq0 <= newq0 && newq0 <= oldq1){ *q0 = oldq0; *q1 = oldq1; return 0; diff --git a/src/cmd/dict/dict.c b/src/cmd/dict/dict.c index 00534ea0..dccd3037 100644 --- a/src/cmd/dict/dict.c +++ b/src/cmd/dict/dict.c @@ -230,7 +230,6 @@ execcmd(int cmd) if(debug && doall && cmd == 'a') Bprint(bout, "%d entries, cur=%d\n", dot->n, cur+1); for(;;){ -print("execcmd dot->n %d\n", dot->n); if(cur >= dot->n) break; if(doall) { diff --git a/src/cmd/mkfile b/src/cmd/mkfile index b8a63c57..8450d94b 100644 --- a/src/cmd/mkfile +++ b/src/cmd/mkfile @@ -2,7 +2,7 @@ PLAN9=../.. <$PLAN9/src/mkhdr TARG=`ls *.c | sed 's/\.c//'` -LDFLAGS=$LDFLAGS -lsec -lregexp9 -l9 -lbio -lfmt -lutf +LDFLAGS=$LDFLAGS -lthread -lsec -lfs -lmux -lregexp9 -l9 -lbio -lfmt -lutf <$PLAN9/src/mkmany |