From 350220645aef0dfd9771b021f38dcccbc2705990 Mon Sep 17 00:00:00 2001 From: eehouse Date: Mon, 8 Feb 2010 13:27:56 +0000 Subject: [PATCH] Don't call comms_setAddr every time prefs is opened. Comms and wince networking are getting confused. --- xwords4/wince/ceprefs.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/xwords4/wince/ceprefs.c b/xwords4/wince/ceprefs.c index 8b6f721ec..ab54c56ed 100755 --- a/xwords4/wince/ceprefs.c +++ b/xwords4/wince/ceprefs.c @@ -189,15 +189,6 @@ loadCurPrefsFromState( CEAppGlobals* XP_UNUSED_STANDALONE(globals), XP_MEMCPY( &appPrefs->cp, &prefsPrefs->cp, sizeof(appPrefs->cp) ); XP_MEMCPY( &appPrefs->colors, &prefsPrefs->colors, sizeof(prefsPrefs->colors) ); - -#ifndef XWFEATURE_STANDALONE_ONLY - /* I don't think this'll work... */ - if ( globals->game.comms != NULL ) { - comms_setAddr( globals->game.comms, &prefsPrefs->addrRec ); - } else { - XP_LOGF( "no comms to set addr on!!!" ); - } -#endif } /* loadCurPrefsFromState */ /* Reflect local state into the controls user will see.