On 05.07.18 19:39, Heinrich Schuchardt wrote:
> The function names utf16_strlen() and utf16_strnlen() are misnomers.
> The functions do not count utf-16 characters but non-zero words.
> So let's rename them to u16_strlen and u16_strnlen().
> 
> In utf16_dup() avoid assignment in if clause.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>

We had quite a long debate back when the patches got created whether we
should call these utf16 or ucs2. I don't remember if we ever got to a
full conclusion.

I think the u16 name is even more obvious though, so I'm in agreement
with this patch.

Rob, please ack if you also think it's good.


Alex
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to