浏览代码
add setlocale() (mostly for datetime function)
master
Aaron Marcher
8 年前
找不到此签名对应的密钥
GPG 密钥 ID: 74B048E5C2474F9A
共有
1 个文件被更改,包括
3 次插入 和
0 次删除
-
slstatus.c
|
|
@@ -6,6 +6,7 @@ |
|
|
|
#include <ifaddrs.h> |
|
|
|
#include <limits.h> |
|
|
|
#include <linux/wireless.h> |
|
|
|
#include <locale.h> |
|
|
|
#include <netdb.h> |
|
|
|
#include <pwd.h> |
|
|
|
#include <signal.h> |
|
|
@@ -634,6 +635,8 @@ main(int argc, char *argv[]) |
|
|
|
dpy = XOpenDisplay(NULL); |
|
|
|
} |
|
|
|
|
|
|
|
setlocale(LC_ALL, ""); |
|
|
|
|
|
|
|
while (!done) { |
|
|
|
status_string[0] = '\0'; |
|
|
|
|
|
|
|