Browse Source

Add blank line after setlocale

setlocale() has to be separated from the signal handling.
master
Aaron Marcher 6 years ago
parent
commit
8e25af7dc3
No known key found for this signature in database GPG Key ID: 74B048E5C2474F9A
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      slstatus.c

+ 1
- 0
slstatus.c View File

@@ -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…
Cancel
Save