From d66c27cd35b13fe74a852200dd442f52e64a40cd Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 28 May 2006 18:16:08 +0000 Subject: [PATCH] To show it and to prevent it's being cleared, write current password into field in game info dialog. --- wince/ceginfo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wince/ceginfo.c b/wince/ceginfo.c index b3470430a..4af4dfad8 100755 --- a/wince/ceginfo.c +++ b/wince/ceginfo.c @@ -203,10 +203,13 @@ loadFromGameInfo( HWND hDlg, CEAppGlobals* globals, GameInfoState* giState ) } /* set the password, if any */ + if ( lp->password != NULL ) { + resID = PASS_EDIT1 + (NUM_COLS*i); + ceSetDlgItemText( hDlg, resID, lp->password ); + } /* put a string in the moronic combobox */ swprintf( widebuf, L"%d", i + 1 ); - SendDlgItemMessage( hDlg, IDC_NPLAYERSCOMBO, CB_ADDSTRING, 0, (long)widebuf ); }