Fix bug I introduced.
This commit is contained in:
parent
fdafc8ab98
commit
3bb49b3e9c
@ -376,9 +376,9 @@ static int Newpos = 0;
|
||||
/* VARARGS1 */
|
||||
msg(fmt,ap)
|
||||
char *fmt;
|
||||
_VA_LIST_ ap;
|
||||
va_list ap;
|
||||
{
|
||||
(void)vsprintf(&Msgbuf[Newpos], fmt, ap);
|
||||
(void)vsprintf(&Msgbuf[Newpos], fmt, &ap);
|
||||
endmsg();
|
||||
}
|
||||
|
||||
@ -389,9 +389,9 @@ msg(fmt,ap)
|
||||
/* VARARGS1 */
|
||||
addmsg(fmt,ap)
|
||||
char *fmt;
|
||||
_VA_LIST_ ap;
|
||||
va_list ap;
|
||||
{
|
||||
(void)vsprintf(&Msgbuf[Newpos], fmt, ap);
|
||||
(void)vsprintf(&Msgbuf[Newpos], fmt, &ap);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -389,21 +389,21 @@ pch(c)
|
||||
apr(ps, fmt, ap)
|
||||
struct point *ps;
|
||||
char *fmt;
|
||||
_VA_LIST_ ap;
|
||||
va_list ap;
|
||||
{
|
||||
struct point p;
|
||||
|
||||
p.line = ps->line+1; p.col = ps->col+1;
|
||||
move(&p);
|
||||
(void)vsprintf(str, fmt, ap);
|
||||
(void)vsprintf(str, fmt, &ap);
|
||||
pstring(str);
|
||||
}
|
||||
|
||||
pr(fmt, ap)
|
||||
char *fmt;
|
||||
_VA_LIST_ ap;
|
||||
va_list ap;
|
||||
{
|
||||
(void)vsprintf(str, fmt, ap);
|
||||
(void)vsprintf(str, fmt, &ap);
|
||||
pstring(str);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user