0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-02 03:32:52 +01:00

construct: Tweak usererrstr formatting; minor cleanup.

This commit is contained in:
Jason Volk 2019-05-09 16:49:19 -07:00
parent d90d06307d
commit 1ae664f6a0

View file

@ -16,11 +16,6 @@
#include "signals.h" #include "signals.h"
#include "console.h" #include "console.h"
static bool startup_checks();
static void applyargs();
static void enable_coredumps();
static int print_version();
bool printversion; bool printversion;
bool cmdline; bool cmdline;
bool quietmode; bool quietmode;
@ -75,12 +70,21 @@ const char *const fatalerrstr
const char *const usererrstr const char *const usererrstr
{R"( {R"(
*** ***
*** A fatal startup error has occurred. Please fix the problem to continue. *** *** A fatal startup error has occurred:
*** ***
%s %s
***
*** Please fix the problem to continue.
***
)"}; )"};
static bool startup_checks();
static void applyargs();
static void enable_coredumps();
static int print_version();
int int
main(int _argc, char *const *_argv, char *const *const _envp) main(int _argc, char *const *_argv, char *const *const _envp)
noexcept try noexcept try