commit | 0b18c3d9d3827db8a3c93949229407a6f9e3ea44 | [log] [tgz] |
---|---|---|
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | Fri Jul 14 13:24:51 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 08 17:05:43 2023 -0400 |
tree | 25c497c3509934e0c691ac0384f82deee75dc87e | |
parent | 02482ee1f9d648e741e9ba4831754f88d86038d4 [diff] |
lib/charset: fix u16_strlcat() return value strlcat returns min(strlen(dest), count)+strlen(src). Make u16_strlcat's behaviour the same for consistency. Fixes: eca08ce94ceb ("lib/charset: add u16_strlcat() function") Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>