Browse Source
Add blank line after setlocale
setlocale() has to be separated from the signal handling.
master
Aaron Marcher
7 years ago
No known key found for this signature in database
GPG Key ID: 74B048E5C2474F9A
1 changed files with
1 additions and
0 deletions
-
slstatus.c
|
|
@@ -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); |
|
|
|