fix crash by initing in right place. (modified and checked in from 9300)

This commit is contained in:
ehouse 2005-04-22 13:49:33 +00:00
parent d064ab2840
commit 07e3e53e92

View file

@ -85,6 +85,10 @@ CXWordsAppView::CXWordsAppView( CEikApplication* aApp )
/* CBase derivitaves are zero'd out, they say */
XP_ASSERT( iTimerReasons[0] == 0 && iTimerReasons[1] == 0 );
#ifndef XWFEATURE_STANDALONE_ONLY
comms_getInitialAddr( &iCommsAddr );
#endif
}
CXWordsAppView::~CXWordsAppView()
@ -1078,7 +1082,6 @@ CXWordsAppView::InitPrefs()
#ifndef XWFEATURE_STANDALONE_ONLY
iGi.serverRole = SERVER_STANDALONE;
comms_getInitialAddr( &iCommsAddr );
#endif
}