diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-12-06 16:26:51 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-12-06 16:26:51 +0000 |
commit | 5a833cc25b6913ae41bd2c0263cff2bc9b63f28d (patch) | |
tree | 2855f4dfd96da0996f503386ac1a2ff2ff7dd555 /Clock.c | |
parent | 78df2d5bdd53a2dd2febf18ce6c2c9d9e3e4f5f7 (diff) |
Bugzilla #5251 <https://bugs.freedesktop.org/show_bug.cgi?id=5251> xclock
-digital only shows "20" (Egmont Koblinger)
Diffstat (limited to 'Clock.c')
-rw-r--r-- | Clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -599,15 +599,15 @@ Initialize (Widget request, Widget new, ArgList args, Cardinal *num_args) } /* - * initialize time format from CFTIME if set, otherwize - * default to "%C". This emulates ascftime, but we use + * initialize time format from CFTIME if set, otherwise + * default to "%c". This emulates ascftime, but we use * strftime so we can limit the string buffer size to * avoid possible buffer overflow. */ if ((w->clock.strftime == NULL) || (w->clock.strftime[0] == 0)) { w->clock.strftime = getenv("CFTIME"); if (w->clock.strftime == NULL) { - w->clock.strftime = "%C"; + w->clock.strftime = "%c"; } } } |