mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
remove unused param
This commit is contained in:
parent
35a924cadd
commit
709f378271
4 changed files with 7 additions and 9 deletions
|
@ -284,8 +284,7 @@ stateToGameInfo( GameInfoState* state )
|
|||
|
||||
/* preferences */
|
||||
if ( state->results.prefsChanged ) {
|
||||
loadCurPrefsFromState( globals, &globals->appPrefs, gi,
|
||||
state->prefsPrefs );
|
||||
loadCurPrefsFromState( &globals->appPrefs, gi, state->prefsPrefs );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1833,8 +1833,8 @@ ceDoNewGame( CEAppGlobals* globals, GIShow showWhat )
|
|||
}
|
||||
|
||||
if ( results.prefsChanged ) {
|
||||
loadCurPrefsFromState( globals, &globals->appPrefs,
|
||||
&globals->gameInfo, &prefsPrefs );
|
||||
loadCurPrefsFromState( &globals->appPrefs, &globals->gameInfo,
|
||||
&prefsPrefs );
|
||||
if ( results.colorsChanged ) {
|
||||
updateForColors( globals );
|
||||
}
|
||||
|
@ -1954,7 +1954,7 @@ ceDoPrefsDlg( CEAppGlobals* globals )
|
|||
assertOnTop( globals->hWnd );
|
||||
if ( WrapPrefsDialog( globals->hWnd, globals, &prefsPrefs,
|
||||
XP_FALSE, &colorsChanged, &langChanged ) ) {
|
||||
loadCurPrefsFromState( globals, &globals->appPrefs, &globals->gameInfo,
|
||||
loadCurPrefsFromState( &globals->appPrefs, &globals->gameInfo,
|
||||
&prefsPrefs );
|
||||
|
||||
(void)cePositionBoard( globals );
|
||||
|
|
|
@ -169,8 +169,7 @@ loadStateFromCurPrefs( CEAppGlobals* XP_UNUSED_STANDALONE(globals),
|
|||
} /* loadStateFromCurPrefs */
|
||||
|
||||
void
|
||||
loadCurPrefsFromState( CEAppGlobals* XP_UNUSED_STANDALONE(globals),
|
||||
CEAppPrefs* appPrefs,
|
||||
loadCurPrefsFromState( CEAppPrefs* appPrefs,
|
||||
CurGameInfo* gi, const CePrefsPrefs* prefsPrefs )
|
||||
{
|
||||
gi->hintsNotAllowed = prefsPrefs->gp.hintsNotAllowed;
|
||||
|
|
|
@ -60,8 +60,8 @@ XP_Bool WrapPrefsDialog( HWND hDlg, CEAppGlobals* globals,
|
|||
XP_Bool* colorsChanged, XP_Bool* langChanged );
|
||||
void loadStateFromCurPrefs( CEAppGlobals* globals, const CEAppPrefs* appPrefs,
|
||||
const CurGameInfo* gi, CePrefsPrefs* prefsPrefs );
|
||||
void loadCurPrefsFromState( CEAppGlobals* globals, CEAppPrefs* appPrefs,
|
||||
CurGameInfo* gi, const CePrefsPrefs* prefsPrefs );
|
||||
void loadCurPrefsFromState( CEAppPrefs* appPrefs, CurGameInfo* gi,
|
||||
const CePrefsPrefs* prefsPrefs );
|
||||
|
||||
LRESULT CALLBACK PrefsDlg(HWND, UINT, WPARAM, LPARAM);
|
||||
|
||||
|
|
Loading…
Reference in a new issue