fix initial screen by Ben Ritchey 1:393/68

This commit is contained in:
Michael Dukelsky 2018-07-16 13:30:41 +03:00
parent 30d600a418
commit 8455057d00

View File

@ -1,4 +1,3 @@
// ------------------------------------------------------------------ // ------------------------------------------------------------------
// GoldED+ // GoldED+
// Copyright (C) 1990-1999 Odinn Sorensen // Copyright (C) 1990-1999 Odinn Sorensen
@ -399,7 +398,7 @@ static void w_brag() {
wprints(4, 46-strlen(__gver_longpid__)-1-strlen(__gver_ver__), C_BRAGW, __gver_longpid__); wprints(4, 46-strlen(__gver_longpid__)-1-strlen(__gver_ver__), C_BRAGW, __gver_longpid__);
wprints(4, 46-strlen(__gver_ver__), C_BRAGW, __gver_ver__); wprints(4, 46-strlen(__gver_ver__), C_BRAGW, __gver_ver__);
wprints(5, 12, C_BRAGW, "http://golded-plus.sourceforge.net"); wprints(5, 12, C_BRAGW, "https://github.com/golded-plus");
wprints(0, 48, C_BRAGW, " GoldED+ Message Editor "); wprints(0, 48, C_BRAGW, " GoldED+ Message Editor ");
gsprintf(PRINTF_DECLARE_BUFFER(buf), " Copyright (C) 1990-%s ",__gver_date__+7); gsprintf(PRINTF_DECLARE_BUFFER(buf), " Copyright (C) 1990-%s ",__gver_date__+7);
@ -415,29 +414,32 @@ static void w_brag() {
gsprintf(PRINTF_DECLARE_BUFFER(buf), "---*-*-*** %s ***-*-*---", __gver_releasename__); gsprintf(PRINTF_DECLARE_BUFFER(buf), "---*-*-*** %s ***-*-*---", __gver_releasename__);
wcenters(8, C_BRAGW, buf); wcenters(8, C_BRAGW, buf);
wcenters(10, C_BRAGW, "This program is free software; it is licensed under the"); if (MAXROW > 30)
wcenters(11, C_BRAGW, "GNU General Public License version 2. You're welcome to"); {
wcenters(12, C_BRAGW, "redistribute the program or any parts hereof under cer-"); wcenters(10, C_BRAGW, "This program is free software; it is licensed under the");
wcenters(13, C_BRAGW, "tain conditions. See the LICENSE.TXT for more details."); wcenters(11, C_BRAGW, "GNU General Public License version 2. You're welcome to");
wcenters(12, C_BRAGW, "redistribute the program or any parts hereof under cer-");
wcenters(13, C_BRAGW, "tain conditions. See the LICENSE.TXT for more details.");
}
wcenters(MAXROW-16, C_BRAGW, "This executable is distributed by");
gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s", __gver_vendor_name__);
wcenters(MAXROW-14, C_BRAGW, buf);
wcenters(MAXROW-10, C_BRAGW, "This executable is distributed by");
if (*__gver_vendor_fido__) if (*__gver_vendor_fido__)
{ {
gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s (Fido: %s) - <%s>", gsprintf(PRINTF_DECLARE_BUFFER(buf), " FIDONet: %s ", __gver_vendor_fido__);
__gver_vendor_name__, __gver_vendor_fido__, __gver_vendor_email__); wcenters(MAXROW-13, C_BRAGW, buf);
}
else
{
gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s <%s>",
__gver_vendor_name__, __gver_vendor_email__);
} }
wcenters(MAXROW-9, C_BRAGW, buf); gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s", __gver_vendor_email__);
wcenters(MAXROW-12, C_BRAGW, buf);
gsprintf(PRINTF_DECLARE_BUFFER(buf), "Compiled on %s %s", __gver_date__, __gver_time__); gsprintf(PRINTF_DECLARE_BUFFER(buf), "Compiled on %s %s", __gver_date__, __gver_time__);
wcenters(MAXROW-8, C_BRAGW, buf); wcenters(MAXROW-10, C_BRAGW, buf);
} }
// ------------------------------------------------------------------ // ------------------------------------------------------------------
static bool ExistCfg(char* path, char* file) { static bool ExistCfg(char* path, char* file) {