diff options
author | Rob Landley <rob@landley.net> | 2024-04-05 12:37:34 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2024-04-05 12:37:34 -0500 |
commit | fc0e86b438e813eca267c5a0fd60a4be0792f6bc (patch) | |
tree | 45e83a116885e414fc9a357d38159e706bb95ae8 | |
parent | 2b867151f7ec7029791dae2b088c6243bf15e86d (diff) | |
download | toybox-fc0e86b438e813eca267c5a0fd60a4be0792f6bc.tar.gz |
Fix thinko.
-rw-r--r-- | toys/other/watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/watch.c b/toys/other/watch.c index 995aae15..fbd95455 100644 --- a/toys/other/watch.c +++ b/toys/other/watch.c @@ -112,7 +112,7 @@ void watch_main(void) if (pad>0) draw_trim(cmd, -pad, pad); printf("%c", pad<cmdlen ? '*' : ' '); if (width) xputs(ss+(width>ctimelen ? 0 : width-1)); - if (yy>=3) xprintf("\r\n"); + if (height>=3) xprintf("\r\n"); xx = 0; yy = 2; } |