mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Call setlocale(LC_TIME) at startup.
This commit is contained in:
3
tmux.c
3
tmux.c
@ -22,6 +22,7 @@
|
||||
#include <errno.h>
|
||||
#include <event.h>
|
||||
#include <fcntl.h>
|
||||
#include <locale.h>
|
||||
#include <paths.h>
|
||||
#include <pwd.h>
|
||||
#include <stdlib.h>
|
||||
@ -243,6 +244,8 @@ main(int argc, char **argv)
|
||||
malloc_options = (char *) "AFGJPX";
|
||||
#endif
|
||||
|
||||
setlocale(LC_TIME, "");
|
||||
|
||||
quiet = flags = 0;
|
||||
label = path = NULL;
|
||||
login_shell = (**argv == '-');
|
||||
|
Reference in New Issue
Block a user