From 9b95117a7c077c0627265e18b39cb258c13461cc Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 28 Jan 2024 13:47:18 +0100 Subject: [PATCH] minimal username length fix --- src/chat/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 49f5344..e645ad8 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -633,7 +633,7 @@ void *why2_listen_server(void *socket) exiting = 1; //EXIT THIS THREAD } else if (strcmp(read + 8, WHY2_CHAT_CODE_PICK_USERNAME) == 0) //PICK USERNAME { - printf("%sEnter username (a-Z, 0-9; %d-%d characters):\n", WHY2_CLEAR_AND_GO_UP, WHY2_MAX_USERNAME_LENGTH, WHY2_MAX_USERNAME_LENGTH); + printf("%sEnter username (a-Z, 0-9; %d-%d characters):\n", WHY2_CLEAR_AND_GO_UP, WHY2_MIN_USERNAME_LENGTH, WHY2_MAX_USERNAME_LENGTH); fflush(stdout); goto continue_input;