summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 61b37f7..18d644c 100644
--- a/main.c
+++ b/main.c
@@ -263,7 +263,7 @@ int main(int argc, char **argv) {
in.pushback = NULL;
in.reportcols = reportcols;
in.stack = NULL;
- in.defcharset = locale_charset();
+ in.defcharset = charset_from_locale();
idx = make_index();