aboutsummaryrefslogtreecommitdiff
path: root/toys/other/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/watch.c')
-rw-r--r--toys/other/watch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/other/watch.c b/toys/other/watch.c
index f8f3dfb1..14048d85 100644
--- a/toys/other/watch.c
+++ b/toys/other/watch.c
@@ -106,8 +106,8 @@ void watch_main(void)
// Get and measure time string, trimming gratuitous \n
ctimelen = strlen(ss = ctime(&t));
if (ss[ctimelen-1]=='\n') ss[--ctimelen] = 0;
-
- // print cmdline, then * or ' ' (showing truncation), then ctime
+
+ // print cmdline, then * or ' ' (showing truncation), then ctime
pad = width-++ctimelen;
if (pad>0) draw_trim(cmd, -pad, pad);
printf("%c", pad<cmdlen ? '*' : ' ');