mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
Make time localized too.
Closes FS#71 From: valere monseur (dobedo)
This commit is contained in:
parent
3036d4f595
commit
ec9086aab1
1 changed files with 2 additions and 1 deletions
|
@ -6329,7 +6329,8 @@ main(int argc, char *argv[])
|
|||
start_argv = argv;
|
||||
fprintf(stderr, "Welcome to scrotwm V%s Build: %s\n",
|
||||
SCROTWM_VERSION, buildstr);
|
||||
if (!setlocale(LC_CTYPE, "") || !XSupportsLocale())
|
||||
if (!setlocale(LC_CTYPE, "") || !setlocale(LC_TIME, "") ||
|
||||
!XSupportsLocale())
|
||||
warnx("no locale support");
|
||||
|
||||
if (!(display = XOpenDisplay(0)))
|
||||
|
|
Loading…
Add table
Reference in a new issue