fep/aknfep/src/aknfepuispellinputpane.cpp
branchRCL_3
changeset 12 5e18d8c489d6
parent 5 a47de9135b21
--- a/fep/aknfep/src/aknfepuispellinputpane.cpp	Tue May 11 16:31:42 2010 +0300
+++ b/fep/aknfep/src/aknfepuispellinputpane.cpp	Tue May 25 13:03:44 2010 +0300
@@ -41,7 +41,7 @@
 
 // CONSTANTS
 const TInt KNumberOfControl = 1;
-const TInt KSpellMaxLength = 32;    
+const TInt KSpellMaxLength = 63;    
 const TInt KTouchSpellEditorMaxLine = 1;  
 // Enumarations
 enum TControls
@@ -201,7 +201,15 @@
     {
     if (iInputWin->IsFocused())
         {
-        return iInputWin->OfferKeyEventL( aKeyEvent, aType );
+		TKeyResponse  response = iInputWin->OfferKeyEventL( aKeyEvent, aType );
+		if ( response == EKeyWasNotConsumed )
+			{
+			if ( aType == EEventKeyDown || aType == EEventKeyUp )
+				{
+                response = EKeyWasConsumed;
+                }
+			}
+		return response;
         }
 
     return EKeyWasNotConsumed;