From 07e3e53e92150ab7f748ed80072900e7280b6c09 Mon Sep 17 00:00:00 2001 From: ehouse Date: Fri, 22 Apr 2005 13:49:33 +0000 Subject: [PATCH] fix crash by initing in right place. (modified and checked in from 9300) --- symbian/src/xwappview.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/symbian/src/xwappview.cpp b/symbian/src/xwappview.cpp index 33e931bd8..a99520310 100644 --- a/symbian/src/xwappview.cpp +++ b/symbian/src/xwappview.cpp @@ -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 }