Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cf289cef authored by Lukas Wunner's avatar Lukas Wunner Committed by Matt Fleming
Browse files

lib/ucs2_string: Speed up ucs2_utf8size()



No need to calculate the string length on every loop iteration.

Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
Cc: Peter Jones <pjones@redhat.com>
Signed-off-by: default avatarMatt Fleming <matt@codeblueprint.co.uk>
parent d520dd1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment