[Tizen] fix incorrect index range in emoji-helper 52/300252/1
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 23 Jun 2022 09:56:41 +0000 (18:56 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 19 Oct 2023 08:20:26 +0000 (17:20 +0900)
commitaad368220fb14f98fb5f82db155058006fc57b37
tree6ddf82f75a367230df563b60837c8e50eedfcb01
parente16aff0297cabb1288e582ea04207f506e10c686
[Tizen] 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