From ca36e348da9cde9d3cb1302cad108c92d3ba8ba7 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 24 Nov 2015 20:10:27 +0100 Subject: [PATCH] Display new user logo when username is entered When the Edit->Enter Username type-in was used, a new user logo was loaded, but not immediately displayed. While the old user logo could already be up, during a man-machine game. Now it is also immediately displayed. --- winboard/winboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index 4f3b4c2..5b57ba3 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -6726,7 +6726,7 @@ TypeInNameDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) case IDOK: GetDlgItemText(hDlg, OPT_Name, move, sizeof(move)); appData.userName = strdup(move); - SetUserLogo(); + SetUserLogo(); DisplayLogos(); SetGameInfo(); if(gameMode == MachinePlaysWhite || gameMode == MachinePlaysBlack) { snprintf(move, MSG_SIZ, "%s vs. %s", gameInfo.white, gameInfo.black); -- 1.7.0.4