Skip to content
Commit de4b5647 authored by Emil Gydesen's avatar Emil Gydesen Committed by Carles Cufí
Browse files

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: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 6238bf41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment