]> Kevux Git Server - fll/commit
Bugfix: UTF-8 characters buffer is incorrectly returning an error.
authorKevin Day <thekevinday@gmail.com>
Wed, 5 May 2021 05:00:40 +0000 (00:00 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 5 May 2021 05:00:40 +0000 (00:00 -0500)
commitcfbb6ee6885b39ff96d9fc25784c746adf7b353c
treef853320fcd7c1ede09fdcb508c7802da93bd7c2d
parent9b272513bb715ac041e7f25442080bba76180e4f
Bugfix: UTF-8 characters buffer is incorrectly returning an error.

The previous commit: "Bugfix: UTF-8 characters are not being fully printed" exposed that for UTF-8 characters (width 2 or greater), an error is always returned.

When the width properly fits in the requested range, return the appropriate success code instead of an error.
level_0/f_utf/c/utf.c