uifw/AvKon/src/akntitle.cpp
branchRCL_3
changeset 10 9f56a4e1b8ab
parent 9 aabf2c525e0f
child 55 aecbbf00d063
--- a/uifw/AvKon/src/akntitle.cpp	Fri Mar 12 15:43:43 2010 +0200
+++ b/uifw/AvKon/src/akntitle.cpp	Mon Mar 15 12:41:34 2010 +0200
@@ -214,9 +214,7 @@
         // set flags to default values
         iExtension->iFlags = 0;
         }
-    
-    iExtension->iStatusPane = CEikStatusPaneBase::Current();
-    	
+   	iExtension->iStatusPane = CEikStatusPaneBase::Current();
     }
 
 
@@ -229,6 +227,7 @@
     {
     CommonConstructL();
     ReadFromResourceFileL( aReader );
+    iExtension->iStatusPane = CEikStatusPaneBase::Current();
     }
 
 
@@ -919,7 +918,12 @@
     TPtr ptr = iText->Des();
     AknBidiTextUtils::ConvertToVisualAndWrapToStringL(
         aText, *iLineWidthArray, *font, ptr, ETrue );
-
+    
+    TInt len = iText->Length();
+    if (( aLineNum == 1 ) && ( iText->LocateReverseF( '\n' ) == len -1 ) && len >= 1 )
+        {
+        ptr.Delete( len - 1, 1 );
+        }
     }