all repos — slstatus @ e1b89581d2273d1e32cfa25616121e884f755b33

my build of slstatus (tools.suckless.org/slstatus/)

add setlocale() (mostly for datetime function)
Aaron Marcher info@nulltime.net
Mon, 10 Oct 2016 18:58:06 +0200
commit

e1b89581d2273d1e32cfa25616121e884f755b33

parent

3971c1f47c6b6b7b87a50efa24674c7820d24ac1

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M slstatus.cslstatus.c

@@ -6,6 +6,7 @@ #include <fcntl.h>

#include <ifaddrs.h> #include <limits.h> #include <linux/wireless.h> +#include <locale.h> #include <netdb.h> #include <pwd.h> #include <signal.h>

@@ -633,6 +634,8 @@

if (!oflag) { dpy = XOpenDisplay(NULL); } + + setlocale(LC_ALL, ""); while (!done) { status_string[0] = '\0';