diff options
author | ache <ache@ache.one> | 2019-02-07 00:44:34 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2019-02-07 00:44:34 +0100 |
commit | 5e107ff89f66728fdbb62b172814a0bf8ff55540 (patch) | |
tree | 6fd001418b295d89ef1e2b4d789fabd4a16d7ca1 | |
parent | Fix order of config param (diff) |
Fix UTF-8 problem
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |