fep/aknfep/peninputplugins/peninputimeplugincn/src/pluginfepmanagerbase.cpp
branchRCL_3
changeset 9 e6a39382bb9c
parent 7 6defe5d1bd39
child 13 1bbdde98cc2d
--- a/fep/aknfep/peninputplugins/peninputimeplugincn/src/pluginfepmanagerbase.cpp	Wed Apr 14 16:18:34 2010 +0300
+++ b/fep/aknfep/peninputplugins/peninputimeplugincn/src/pluginfepmanagerbase.cpp	Tue Apr 27 16:59:43 2010 +0300
@@ -285,6 +285,7 @@
 						}
 					HBufC8* buf8 = HBufC8::NewLC( sizeof(TInt) // For active index
 												 + sizeof(TInt) // For the count of item array
+												 + sizeof(TInt) // langcode
 												 + sizeof(TInt)*( itemArray->Count() ) // For the size of each item
 												 + sumSize// For all of char data 
 												 );
@@ -293,7 +294,9 @@
 					CleanupClosePushL(writeStream);                
 					writeStream.Open( buf8Ptr );                
 					writeStream.WriteInt32L( candidatelist->iActiveIndex );
-					writeStream.WriteInt32L( itemArray->Count() );                
+					writeStream.WriteInt32L( itemArray->Count() );
+					writeStream.WriteInt32L( candidatelist->iLangCode );
+					
 					for ( TInt i = 0; i < itemArray->Count(); i++  )
 						{
 						writeStream.WriteInt32L( (*itemArray)[i].Size() );