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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment