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

@ -45,7 +45,7 @@ Command *command;
void acmeerrorinit(void);
void readfile(Column*, char*);
int shutdown(void*, char*);
static int shutdown(void*, char*);
void
derror(Display *d, char *errorstr)
@ -270,7 +270,7 @@ char *oknotes[] ={
int dumping;
int
static int
shutdown(void *v, char *msg)
{
int i;

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

View file

@ -12,3 +12,4 @@ DIRS=`ls -l |sed -n 's/^d.* //p' |egrep -v "$BUGGERED"`
<$PLAN9/src/mkdirs
dir-install: $PLAN9/bin/yacc

View file

@ -9,7 +9,7 @@ Plumbmsg m;
void
usage(void)
{
fprint(2, "usage: plumb [-p plumbfile] [-a 'attr=value ...'] [-s src] [-d dst] [-t type] [-w wdir] -i | data1\n");
fprint(2, "usage: plumb [-p plumbfile] [-a 'attr=value ...'] [-s src] [-d dst] [-t type] [-w wdir] -i | data1\n");
exits("usage");
}