mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
stupid port bug. cannot use %ld to print a long as a *CHARACTER*
This commit is contained in:
parent
0d0bad2ee4
commit
77dcf88474
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ int ptout0(Tchar *pi)
|
|||
pi[1] = '~';
|
||||
case DRAWSPLINE: /* spline */
|
||||
default: /* something else; copy it like spline */
|
||||
OUT "D%ld %d %d", cbits(pi[1]), dx, dy PUT;
|
||||
OUT "D%c %d %d", (char)cbits(pi[1]), dx, dy PUT;
|
||||
hpos += dx;
|
||||
vpos += dy;
|
||||
if (cbits(pi[3]) == DRAWFCN || cbits(pi[4]) == DRAWFCN) {
|
||||
|
|
Loading…
Reference in a new issue