fep/aknfep/src/AknFepManager.cpp
branchRCL_3
changeset 22 bd83ceabce89
parent 21 ecbabf52600f
--- a/fep/aknfep/src/AknFepManager.cpp	Wed Sep 01 12:23:33 2010 +0100
+++ b/fep/aknfep/src/AknFepManager.cpp	Tue Sep 14 21:59:06 2010 +0300
@@ -6305,7 +6305,8 @@
         
         TBool isCangJieSupported = EFalse;
 #ifdef RD_INTELLIGENT_TEXT_INPUT
-        if ( EPtiKeyboardQwerty3x11 == KeyboardLayout() )
+        if ( EPtiKeyboardQwerty3x11 == KeyboardLayout() ||
+             EPtiKeyboardQwerty4x10 == KeyboardLayout())
         	{
         	isCangJieSupported = ETrue;
         	}
@@ -12295,31 +12296,30 @@
 	        }
   
         if (!iLanguageCapabilities.iLocalInputLanguageInUse)
-        	{
-        	switch (iSharedDataInterface->InputTextLanguage())
-            	{
-            	case ELangPrcChinese:
-            		{
-            		iSharedDataInterface->SetInputMode(EPinyin);
-            		SetFlag(EFlagNewSharedDataInputMode);
-            		break;            		
-            		}
+            {
+            switch (iSharedDataInterface->InputTextLanguage())
+                {
+                case ELangPrcChinese:
+                    {
+                    iSharedDataInterface->SetInputMode(EPinyin);
+                    SetFlag(EFlagNewSharedDataInputMode);
+                    break;
+                    }
             	case ELangTaiwanChinese:
-            		{
-            	    iSharedDataInterface->SetInputMode(EZhuyin);
-            	    SetFlag(EFlagNewSharedDataInputMode);
-            	    break;
-            		}
-            	case ELangHongKongChinese:
-            		{
-            	    iSharedDataInterface->SetInputMode(EStroke);
-            	    iSharedDataInterface->SetCangJieMode(ECangJieNormal);
-            	    SetFlag(EFlagNewSharedDataInputMode);
-            	    break;
-            		}
-            	default:
-            		break;
-            	}
+                    {
+                    iSharedDataInterface->SetInputMode(EZhuyin);
+                    SetFlag(EFlagNewSharedDataInputMode);
+                    break;
+                    }
+                case ELangHongKongChinese:
+                    {
+                    iSharedDataInterface->SetInputMode(EStroke);
+                    SetFlag(EFlagNewSharedDataInputMode);
+                    break;
+                    }
+                default:
+                    break;
+                }
             }
 
     	SetHashKeyStyle();