mirror of
https://github.com/pikami/slstatus.git
synced 2024-11-30 07:15:42 +00:00
Add blank line after setlocale
setlocale() has to be separated from the signal handling.
This commit is contained in:
parent
fb1f1dea2e
commit
8e25af7dc3
@ -843,6 +843,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
|
||||
memset(&act, 0, sizeof(act));
|
||||
act.sa_handler = terminate;
|
||||
sigaction(SIGINT, &act, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user