diff options
author | 2012-10-22 12:49:29 -0400 | |
---|---|---|
committer | 2012-10-22 12:49:29 -0400 | |
commit | 83acfd9b74600610bab990b6450a7d049c41a74c (patch) | |
tree | d656443a828225b9ce515b2322237bb3a8e43ed0 /src/textadept.c | |
parent | 099a759c90841acf76c5bbb3610d01fef993d899 (diff) | |
download | textadept-83acfd9b74600610bab990b6450a7d049c41a74c.tar.gz textadept-83acfd9b74600610bab990b6450a7d049c41a74c.zip |
Fix string collation bug in ncurses due to CDK.
CDK would reset locale settings so autocomplete lists would not sort correctly.
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c index 851bf3d1..4d430c8a 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -2281,7 +2281,7 @@ int main(int argc, char **argv) { #endif #endif - setlocale(LC_NUMERIC, "C"); + setlocale(LC_COLLATE, "C"), setlocale(LC_NUMERIC, "C"); if (lua = luaL_newstate(), !lL_init(lua, argc, argv, FALSE)) return 1; new_window(); lL_dofile(lua, "init.lua"); |