diff -r a15d9966050f -r 6f657153cbc5 messagingapp/msgui/conversationview/src/msgeditorwidget.cpp --- a/messagingapp/msgui/conversationview/src/msgeditorwidget.cpp Fri Sep 17 08:28:39 2010 +0300 +++ b/messagingapp/msgui/conversationview/src/msgeditorwidget.cpp Mon Oct 04 00:13:15 2010 +0300 @@ -65,8 +65,8 @@ // @see header //--------------------------------------------------------------- MsgEditorWidget::MsgEditorWidget(QGraphicsItem *parent) : - HbWidget(parent), mMsgEditor(NULL), - mSendButton(NULL),mPluginLoader(NULL) + HbWidget(parent), mMsgEditor(0), mSendButton(0), mPluginInterface(0), mPluginLoader(0), + mSmsCharLimitReached(false) { //setting background. HbFrameItem* backGround = new HbFrameItem(this); @@ -200,9 +200,9 @@ //Check done for optimization //Only if content is deleted we need to call encodingsettings again - if(mPrevBuffer.isEmpty() || str.size() <= mPrevBuffer.size()) + if (mPrevBuffer.isEmpty() || str.size() <= mPrevBuffer.size()) { - mPluginInterface->setEncodingSettings(EFalse,ESmsEncodingNone,mCharSupportType); + mPluginInterface->setEncodingSettings(EFalse,ESmsEncodingNone,mCharSupportType); } TInt numOfRemainingChars;