소스 검색
add setlocale() (mostly for datetime function)
master
Aaron Marcher
8 년 전
No known key found for this signature in database
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'; |
|
|
|
|
|
|
|