commit | de4b56475460dc286e45af8ebe7840587d559d30 | [log] [tgz] |
---|---|---|
author | Emil Gydesen <emil.gydesen@nordicsemi.no> | Thu Jun 23 15:14:00 2022 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Jul 04 15:49:22 2022 +0200 |
tree | f65e7487ebb1dfc2fdbd222282530b5d211730ae | |
parent | 6238bf4185d10e00074f520693faa5d967f47bb6 [diff] |
zephyr: Fix n=0 for utf8_lcpy The function used an assert if n was 0. Instead of using an assert, the function will now just not do anything. The documentation has also been updated to reflect this. The reasoning for this is that the strlcpy function this (sort of) implements for utf8 works the same way. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>