axmol/tests/cpp-tests
tyfkda aacec550c9 Fix out of range access in Label (#18789)
Out of range occurred in some condition
when using `Label` with its `getLetter()` member function.

`Label::recordPlaceholderInfo()` member function is called for
new line (\n) letter in `Label::multilineTextWrap()`,
but the function doesn't set `_lettersInfo[letterIndex].lineIndex`.

But `lineIndex` is used in `Label::updateLabelLetters()`
even if letter is new line.

This change checks `letterInfo.valid` to avoid
accessing `_linesOffsetX[letterInfo.lineIndex]`
for invalid (i.e. `NewLine`) letter.
2018-08-06 14:27:47 +08:00
..
Classes Fix out of range access in Label (#18789) 2018-08-06 14:27:47 +08:00
Resources add test case for issue #18597(audio crash on iOS), and fix (#18865) 2018-07-11 09:36:57 +08:00
proj.android change PROP_BUILD_TYPE from ndk-build to CMake (#18953) 2018-07-22 15:28:17 +08:00
proj.ios Fix iCCP profile using mogrify (#18908) 2018-06-29 11:14:13 +08:00
proj.linux update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
proj.mac update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
proj.win10 Fix iCCP profile using mogrify (#18908) 2018-06-29 11:14:13 +08:00
proj.win32 Speed up windows build (#18662) 2018-01-29 16:36:38 +08:00
.cocos-project.json adjust android / linux build config for cocos CLI (#18780) 2018-04-24 13:46:20 +08:00
CMakeLists.txt let app resource path visible when executing "cmake .." on win32 (#18839) 2018-05-23 11:23:16 +08:00