From 912c65300054e1c886a08b7b9b21900aae45c5ca Mon Sep 17 00:00:00 2001 From: Mid Favila Date: Sun, 21 Aug 2022 18:10:26 -0400 Subject: [PATCH] Append a goal to TODO. --- TODO | 1 + src/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 5949f71..6c08e61 100644 --- a/TODO +++ b/TODO @@ -7,3 +7,4 @@ - Remove platform-specific code. - Implement proper preferences handling - Implement chanop commands +- Remove okButtStartupCbk -- having different callbacks for the same button at differing times without an indicator is bad UX. diff --git a/src/main.c b/src/main.c index 81cdafc..3a14264 100644 --- a/src/main.c +++ b/src/main.c @@ -306,7 +306,7 @@ int main (int argc, char *argv[]) tempName = getenv("LOGNAME"); if (strlen(tempName) > MAX_NAME_LEN || tempName == NULL) { - strcpy(sysState.myUnixname, "joesmith"); + strcpy(sysState.myUnixname, "noname"); printf("Failed to get a proper Unix login name. Using: %s\n", sysState.myUnixname); } strcpy(sysState.myUnixname, tempName);