summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/libpanel/textwin.c
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2020-04-25 21:53:54 -0400
committerstanley lieber <stanley.lieber@gmail.com>2020-04-25 21:53:54 -0400
commit9a7c5d56539b94a10ce75e63113b2d351e55e143 (patch)
treeec3dc11234f044d84843c2b5ee7a2ac4b9c10ce3 /sys/src/cmd/mothra/libpanel/textwin.c
parent60c34ebb2da2b9716169ae4e6db4816d02c28910 (diff)
mothra: remove extraneous lines and decoration (fake 3d). patch extracted from my forked mess by Ori_B.
Diffstat (limited to 'sys/src/cmd/mothra/libpanel/textwin.c')
-rw-r--r--sys/src/cmd/mothra/libpanel/textwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/mothra/libpanel/textwin.c b/sys/src/cmd/mothra/libpanel/textwin.c
index cf49b1e46..f999867aa 100644
--- a/sys/src/cmd/mothra/libpanel/textwin.c
+++ b/sys/src/cmd/mothra/libpanel/textwin.c
@@ -136,7 +136,7 @@ void tw_draw(Textwin *t, int first, int last){
er=t->text+last;
for(r=t->text+first,lp=t->loc+(first-t->top);r!=er;r++,lp++){
if(lp->y+t->hgt>t->r.max.y){
- fprint(2, "chr %C, index %ld of %d, loc %d %d, off bottom\n",
+ fprint(2, "chr %C, index %lld of %d, loc %d %d, off bottom\n",
*r, lp-t->loc, t->bot-t->top, lp->x, lp->y);
return;
}