fix incorrect index range in emoji-helper 20/276720/2
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 23 Jun 2022 09:56:41 +0000 (18:56 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 23 Jun 2022 11:02:12 +0000 (20:02 +0900)
commite4a4f86d7504f8823efd25da04c1a2a37554dac5
treef908882df6195e1683cb9f121f61a4c623d885a2
parentd7d0746a5d6952f6087785b99a78108f2fec8999
fix incorrect index range in emoji-helper

Length lastCharacter = startIndex + numberOfCharacters;

Previous lastCharacter's actual value is "lastCharacter + 1"
This incorrect value makes the whole code misleading.

Change-Id: Idcb2582b05b2e36d064779f85942cea6d967a755
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/text/emoji-helper.cpp
dali-toolkit/internal/text/multi-language-support-impl.cpp