aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound
diff options
context:
space:
mode:
authorPeter Kohaut2019-07-18 00:40:31 +0200
committerPeter Kohaut2019-07-18 01:00:01 +0200
commit377cf606dd6c0e071907c263ffecd37a63ba96e7 (patch)
tree0260ab00d69fda0eba049c086cc9e8c82490329a /engines/kyra/sound
parentafb9ff00484ce9aa5cd53afec826f211fd569809 (diff)
downloadscummvm-rg350-377cf606dd6c0e071907c263ffecd37a63ba96e7.tar.gz
scummvm-rg350-377cf606dd6c0e071907c263ffecd37a63ba96e7.tar.bz2
scummvm-rg350-377cf606dd6c0e071907c263ffecd37a63ba96e7.zip
COMMON: Fix U32String initialization issues
Bug 1: If the original C string contained chars > 127 they would be stored as huge u32 numbers due to the underflow as char is signed. It still might end-up with invalid UTF32 characters, but now the caller can control it. Bug 2: The inline storage was not properly initialized when U32String was initalized from shorter non-UTF32 strings.
Diffstat (limited to 'engines/kyra/sound')
0 files changed, 0 insertions, 0 deletions