diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-04-11 21:52:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-04-11 21:52:18 +0000 |
commit | 7f9b225cc269211b86a4c4d2168146c217d63118 (patch) | |
tree | f37737f75081824502d3dd12a47ad67883f06ced /tmux.c | |
parent | cbee283c26968304b473e2191d2bb5f52208b58d (diff) | |
download | rtmux-7f9b225cc269211b86a4c4d2168146c217d63118.tar.gz rtmux-7f9b225cc269211b86a4c4d2168146c217d63118.tar.bz2 rtmux-7f9b225cc269211b86a4c4d2168146c217d63118.zip |
Call setlocale(LC_TIME) at startup.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 == '-'); |