diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-05 00:18:06 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-05 00:18:06 +0200 |
commit | ea7bc817764f343192ef44c9d1a78335eca3ec12 (patch) | |
tree | ad1e0781c1fbe7453181248bb076bca5660a37c9 /src/main.c | |
parent | 14d0e432238f058d7bc854e5051ee2bcec6e2b62 (diff) |
Locale...
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,7 @@ #include <stdlib.h> #include <string.h> #include <limits.h> +#include <locale.h> #include <assert.h> #include <dirent.h> @@ -600,6 +601,8 @@ int main(int argc, char **argv) { if(argc < 2) usage(); + setlocale(LC_ALL, "C"); + const char *home_dir = get_home_dir(); char rss_config_dir[PATH_MAX]; |