From 416771452e2a51ebb91b9f3ee0abe6b159fbe940 Mon Sep 17 00:00:00 2001 From: Peter Krefting Date: Fri, 3 Nov 2000 13:30:58 +0000 Subject: [PATCH] Allow __gver_vendor_fido__ to be empty for the splash screen (used in the Debian edition, since there is no official netmail address for Debian) --- golded3/geinit.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/golded3/geinit.cpp b/golded3/geinit.cpp index ab2a780..e063b17 100644 --- a/golded3/geinit.cpp +++ b/golded3/geinit.cpp @@ -457,9 +457,13 @@ static void w_brag() { wcenters(13, C_BRAGW, "tain conditions. See the LICENSE.TXT for more details."); wcenters(MAXROW-10, C_BRAGW, "This executable is distributed by"); - sprintf(buf, "%s (Fido: %s) - <%s>", __gver_vendor_name__, - __gver_vendor_fido__, - __gver_vendor_email__); + if (*__gver_vendor_fido__) + sprintf(buf, "%s (Fido: %s) - <%s>", __gver_vendor_name__, + __gver_vendor_fido__, + __gver_vendor_email__); + else + sprintf(buf, "%s <%s>", __gver_vendor_name__, + __gver_vendor_email__); wcenters(MAXROW-9, C_BRAGW, buf); sprintf(buf, "Compiled on %s %s", __gver_date__, __gver_time__); wcenters(MAXROW-8, C_BRAGW, buf);