mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +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 */
|
/* preferences */
|
||||||
if ( state->results.prefsChanged ) {
|
if ( state->results.prefsChanged ) {
|
||||||
loadCurPrefsFromState( globals, &globals->appPrefs, gi,
|
loadCurPrefsFromState( &globals->appPrefs, gi, state->prefsPrefs );
|
||||||
state->prefsPrefs );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1833,8 +1833,8 @@ ceDoNewGame( CEAppGlobals* globals, GIShow showWhat )
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( results.prefsChanged ) {
|
if ( results.prefsChanged ) {
|
||||||
loadCurPrefsFromState( globals, &globals->appPrefs,
|
loadCurPrefsFromState( &globals->appPrefs, &globals->gameInfo,
|
||||||
&globals->gameInfo, &prefsPrefs );
|
&prefsPrefs );
|
||||||
if ( results.colorsChanged ) {
|
if ( results.colorsChanged ) {
|
||||||
updateForColors( globals );
|
updateForColors( globals );
|
||||||
}
|
}
|
||||||
|
@ -1954,7 +1954,7 @@ ceDoPrefsDlg( CEAppGlobals* globals )
|
||||||
assertOnTop( globals->hWnd );
|
assertOnTop( globals->hWnd );
|
||||||
if ( WrapPrefsDialog( globals->hWnd, globals, &prefsPrefs,
|
if ( WrapPrefsDialog( globals->hWnd, globals, &prefsPrefs,
|
||||||
XP_FALSE, &colorsChanged, &langChanged ) ) {
|
XP_FALSE, &colorsChanged, &langChanged ) ) {
|
||||||
loadCurPrefsFromState( globals, &globals->appPrefs, &globals->gameInfo,
|
loadCurPrefsFromState( &globals->appPrefs, &globals->gameInfo,
|
||||||
&prefsPrefs );
|
&prefsPrefs );
|
||||||
|
|
||||||
(void)cePositionBoard( globals );
|
(void)cePositionBoard( globals );
|
||||||
|
|
|
@ -169,8 +169,7 @@ loadStateFromCurPrefs( CEAppGlobals* XP_UNUSED_STANDALONE(globals),
|
||||||
} /* loadStateFromCurPrefs */
|
} /* loadStateFromCurPrefs */
|
||||||
|
|
||||||
void
|
void
|
||||||
loadCurPrefsFromState( CEAppGlobals* XP_UNUSED_STANDALONE(globals),
|
loadCurPrefsFromState( CEAppPrefs* appPrefs,
|
||||||
CEAppPrefs* appPrefs,
|
|
||||||
CurGameInfo* gi, const CePrefsPrefs* prefsPrefs )
|
CurGameInfo* gi, const CePrefsPrefs* prefsPrefs )
|
||||||
{
|
{
|
||||||
gi->hintsNotAllowed = prefsPrefs->gp.hintsNotAllowed;
|
gi->hintsNotAllowed = prefsPrefs->gp.hintsNotAllowed;
|
||||||
|
|
|
@ -60,8 +60,8 @@ XP_Bool WrapPrefsDialog( HWND hDlg, CEAppGlobals* globals,
|
||||||
XP_Bool* colorsChanged, XP_Bool* langChanged );
|
XP_Bool* colorsChanged, XP_Bool* langChanged );
|
||||||
void loadStateFromCurPrefs( CEAppGlobals* globals, const CEAppPrefs* appPrefs,
|
void loadStateFromCurPrefs( CEAppGlobals* globals, const CEAppPrefs* appPrefs,
|
||||||
const CurGameInfo* gi, CePrefsPrefs* prefsPrefs );
|
const CurGameInfo* gi, CePrefsPrefs* prefsPrefs );
|
||||||
void loadCurPrefsFromState( CEAppGlobals* globals, CEAppPrefs* appPrefs,
|
void loadCurPrefsFromState( CEAppPrefs* appPrefs, CurGameInfo* gi,
|
||||||
CurGameInfo* gi, const CePrefsPrefs* prefsPrefs );
|
const CePrefsPrefs* prefsPrefs );
|
||||||
|
|
||||||
LRESULT CALLBACK PrefsDlg(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK PrefsDlg(HWND, UINT, WPARAM, LPARAM);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue