diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-04-29 18:09:41 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-04-29 18:09:41 +0000 |
| commit | 242bcb9550456f24d0f4134dc232bad3fc7f27d3 (patch) | |
| tree | a3fdee51a4a176b22d16ceb3c8762fa534fe4e0f /main.c | |
| parent | term: font size adjust: re-load fonts in parallel (diff) | |
main: only set LC_CTYPE
This is the only locale variable we need. This ensures LC_NUMERIC in
particular remains as "C", which is needed by fcft when instantiating
new fonts.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -310,7 +310,7 @@ main(int argc, char *const *argv) return ret; } - setlocale(LC_ALL, ""); + setlocale(LC_CTYPE, ""); LOG_INFO("locale: %s", setlocale(LC_CTYPE, NULL)); if (!locale_is_utf8()) { LOG_ERR("locale is not UTF-8"); |
