mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-01 06:19:57 +01:00
To show it and to prevent it's being cleared, write current password
into field in game info dialog.
This commit is contained in:
parent
b498d3d18d
commit
d66c27cd35
1 changed files with 4 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue