aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fish.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fish.cpp')
-rw-r--r--src/fish.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fish.cpp b/src/fish.cpp
index c4158dde..8a65d626 100644
--- a/src/fish.cpp
+++ b/src/fish.cpp
@@ -418,11 +418,12 @@ int main(int argc, char **argv) {
assert(ANY_SENTINAL >= WILDCARD_RESERVED_BASE && ANY_SENTINAL <= WILDCARD_RESERVED_END);
assert(R_SENTINAL >= INPUT_COMMON_BASE && R_SENTINAL <= INPUT_COMMON_END);
+ program_name = L"fish";
set_main_thread();
setup_fork_guards();
- wsetlocale(LC_ALL, L"");
- program_name = L"fish";
+ setlocale(LC_ALL, "");
+ fish_setlocale();
// struct stat tmp;
// stat("----------FISH_HIT_MAIN----------", &tmp);