textinput/ptienginev2/src/PtiDefaultCore.cpp
branchRCL_3
changeset 44 ecbabf52600f
parent 43 ebd48d2de13c
equal deleted inserted replaced
43:ebd48d2de13c 44:ecbabf52600f
   516 					{
   516 					{
   517 					if (iTextBuffer->Length() < iTextBuffer->MaxLength())
   517 					if (iTextBuffer->Length() < iTextBuffer->MaxLength())
   518 						{	
   518 						{	
   519 						SetFlag(EPtiDeadKeyRootFlag); // This will indicate PtiEngine that extra character 
   519 						SetFlag(EPtiDeadKeyRootFlag); // This will indicate PtiEngine that extra character 
   520 						                             // was added to buffer.
   520 						                             // was added to buffer.
   521 						iTextBuffer->Append(maps->StartMapping(aKey, iOwner->Case()));	
   521                         chr = maps->StartMapping(aKey, iOwner->Case());
       
   522                         if ( chr )
       
   523                             {
       
   524                             iTextBuffer->Append( chr );
       
   525                             }
   522 						}
   526 						}
   523 					}
   527 					}
   524 				else if ((qmap->VowelSequenceFlag()) &&
   528 				else if ((qmap->VowelSequenceFlag()) &&
   525 					     (lang->LanguageCode() == ELangVietnamese))
   529 					     (lang->LanguageCode() == ELangVietnamese))
   526 					{
   530 					{