commands/fed/src/textview.cpp
changeset 78 b3ffff030d5c
parent 0 7f656887cf89
--- a/commands/fed/src/textview.cpp	Tue Oct 26 15:36:30 2010 +0100
+++ b/commands/fed/src/textview.cpp	Thu Oct 28 16:54:54 2010 +0100
@@ -84,24 +84,26 @@
 	}
 
 void CTextView::ResizeL(const TWindow& aWindow)
-{
+	{
 	iActive = ETrue;
 	TWindow oldWindow = iWindow;
 	StoreWindow(aWindow);
+	iLine.Zero();
+	iLine.ReAllocL(iConsole.ScreenSize().iWidth);
 	DoResizeL(oldWindow);
-}
+	}
 
 void CTextView::RedrawL(const TWindow& aWindow)
-{
+	{
 	iActive = ETrue;
 	StoreWindow(aWindow);
 	DoRedrawL();
-}
+	}
 
 void CTextView::DeactivateL()
-{
+	{
 	iActive = EFalse;
-}
+	}
 
 //MSharedCacheClient
 void CTextView::InvalidateBuffer(TRequestStatus& aStatus)