devdraw: printmesg: implement "z" fmt arg (safe since printmesg is disabled)
This commit is contained in:
parent
30f5752710
commit
945fef7ff2
1 changed files with 4 additions and 0 deletions
|
@ -1383,6 +1383,10 @@ printmesg(char *fmt, uchar *a, int plsprnt)
|
|||
q += sprint(q, " %.4ux", BGSHORT(a));
|
||||
a += 2;
|
||||
break;
|
||||
case 'z':
|
||||
q += sprint(q, " %.*q", (int)*a, (char*)(a+1));
|
||||
a += 1 + *a;
|
||||
break;
|
||||
}
|
||||
}
|
||||
*q++ = '\n';
|
||||
|
|
Loading…
Reference in a new issue