Browse Source

Add blank line after setlocale

setlocale() has to be separated from the signal handling.
Aaron Marcher 8 năm trước cách đây
mục cha
commit
8e25af7dc3
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      slstatus.c

+ 1 - 0
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);