diff --git a/.clang-format b/.clang-format index 36e4997..402f22e 100644 --- a/.clang-format +++ b/.clang-format @@ -11,7 +11,7 @@ ReflowComments: true SpacesBeforeTrailingComments: 3 TabWidth: 4 ConstructorInitializerAllOnOneLineOrOnePerLine: true -ColumnLimit: 130 +ColumnLimit: 80 AllowShortBlocksOnASingleLine: Never AllowShortFunctionsOnASingleLine: None AllowShortEnumsOnASingleLine: false diff --git a/crashelper b/crashelper index 2cf72f3..b9e7bdb 160000 --- a/crashelper +++ b/crashelper @@ -1 +1 @@ -Subproject commit 2cf72f3e5c5313527b5d1442017caf06d51a3c02 +Subproject commit b9e7bdb7349cc0c469800e42b309676fb5495be8 diff --git a/server/main.cpp b/server/main.cpp index a3c9012..e65a68c 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -28,10 +28,8 @@ namespace fs = std::filesystem; void msignal_handler(int signal) { - if (signal == SIGINT) { - fc_recovery_color(); - exit(signal); - } + fc_recovery_color(); + exit(signal); } int main(int argc, char* argv[])