ソースを参照

add setlocale() (mostly for datetime function)

master
Aaron Marcher 8年前
コミット
e1b89581d2
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 74B048E5C2474F9A
1個のファイルの変更3行の追加0行の削除
  1. +3
    -0
      slstatus.c

+ 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';



読み込み中…
キャンセル
保存