aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 41efec3..830c209 100644
--- a/main.c
+++ b/main.c
@@ -61,6 +61,8 @@ int main(int argc, char* argv[]){
#ifdef DEBUG
freopen("/tmp/mesms.debug", "w", stderr);
#endif
+ setlocale(LC_ALL, "");
+
readConfigFile();
/* Gestion des paramètres */
@@ -159,8 +161,6 @@ int main(int argc, char* argv[]){
int c;
int comp = 0;
- setlocale(LC_ALL, "");
-
initscr();
if (has_colors()) {
CHECK(start_color);