nnn

mirror of https://github.com/jarun/nnn
Log | Files | Refs | README | LICENSE

commit 98a16fd09d23e4a7a58fc61ec04ea8f24849fba3
parent b1127b66239914714e03aaad7913507655c91fa3
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 12 Apr 2026 19:50:41 +0530

Set only required locale types

Diffstat:
Msrc/nnn.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -10519,7 +10519,8 @@ int main(int argc, char *argv[]) #ifndef NOLC /* Set locale */ - setlocale(LC_ALL, ""); + setlocale(LC_COLLATE, ""); + setlocale(LC_CTYPE, ""); #ifdef PCRE2 tables = pcre2_maketables(NULL); #endif