Merge pull request #91 from MoonCactus/locale

Allow external locale (github #66)
master
anarcat 5 years ago committed by GitHub
commit 01b48842af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ttyclock.c
  2. 2
      ttyclock.h

@ -37,6 +37,8 @@ void
init(void)
{
struct sigaction sig;
setlocale(LC_TIME,"");
ttyclock.bg = COLOR_BLACK;
/* Init ncurses */

@ -44,9 +44,9 @@
#include <sys/select.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <locale.h>
#include <time.h>
#include <unistd.h>
#include <ncurses.h>
/* Macro */

Loading…
Cancel
Save