various tweaks.

This commit is contained in:
rsc 2003-12-06 18:05:27 +00:00
parent c715a6127a
commit e97ceade5e
10 changed files with 74 additions and 8 deletions

View file

@ -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;

View file

@ -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) {

View file

@ -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