From: H.G.Muller Date: Tue, 24 Nov 2015 19:10:27 +0000 (+0100) Subject: Display new user logo when username is entered X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=ca36e348da9cde9d3cb1302cad108c92d3ba8ba7;p=xboard.git 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. --- 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);