Allow external locale (github #66)

master
Jeremie Francois (on omega) 5 years ago
parent 9b2c86d904
commit 08f457257b
  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