From fc0e86b438e813eca267c5a0fd60a4be0792f6bc Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 5 Apr 2024 12:37:34 -0500 Subject: [PATCH] Fix thinko. --- toys/other/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", padctimelen ? 0 : width-1)); - if (yy>=3) xprintf("\r\n"); + if (height>=3) xprintf("\r\n"); xx = 0; yy = 2; } -- 2.39.2