branch | RCL_3 |
changeset 46 | bd83ceabce89 |
parent 44 | ecbabf52600f |
--- a/textinput/ptienginev2/src/PtiKeyMapData.cpp Wed Sep 01 12:23:33 2010 +0100 +++ b/textinput/ptienginev2/src/PtiKeyMapData.cpp Tue Sep 14 21:59:06 2010 +0300 @@ -43,7 +43,7 @@ implArray->Close(); } -const TInt KNumItemsPerDeadKeyDataRow = 6; + // // CPtiKeyMapData @@ -211,10 +211,10 @@ { if (data[0] == index) { - data++; - return TPtrC(data, KNumItemsPerDeadKeyDataRow - 1); + data += 2; + return TPtrC(data, *(data - 1)); } - data += KNumItemsPerDeadKeyDataRow; + data += (data[1] + 2); } }