From 709f378271fd10f85add6ab251de52c0723ae4fc Mon Sep 17 00:00:00 2001 From: eehouse Date: Mon, 8 Feb 2010 13:46:19 +0000 Subject: [PATCH] remove unused param --- xwords4/wince/ceginfo.c | 3 +-- xwords4/wince/cemain.c | 6 +++--- xwords4/wince/ceprefs.c | 3 +-- xwords4/wince/ceprefs.h | 4 ++-- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/xwords4/wince/ceginfo.c b/xwords4/wince/ceginfo.c index cf63a42aa..8e61d0057 100755 --- a/xwords4/wince/ceginfo.c +++ b/xwords4/wince/ceginfo.c @@ -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 ); } } diff --git a/xwords4/wince/cemain.c b/xwords4/wince/cemain.c index 58acd8975..8cbcab86b 100755 --- a/xwords4/wince/cemain.c +++ b/xwords4/wince/cemain.c @@ -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 ); diff --git a/xwords4/wince/ceprefs.c b/xwords4/wince/ceprefs.c index ab54c56ed..a2b5c0ae0 100755 --- a/xwords4/wince/ceprefs.c +++ b/xwords4/wince/ceprefs.c @@ -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; diff --git a/xwords4/wince/ceprefs.h b/xwords4/wince/ceprefs.h index cb4141136..1933d5569 100755 --- a/xwords4/wince/ceprefs.h +++ b/xwords4/wince/ceprefs.h @@ -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);