]> Kevux Git Server - fll/commit
Bugfix: correctly calculate end-- with UTF-8 and use correct function name
authorKevin Day <thekevinday@gmail.com>
Wed, 22 Apr 2020 03:50:15 +0000 (22:50 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 22 Apr 2020 03:50:15 +0000 (22:50 -0500)
commit34ed3b740987d3c17cde5a1eb3ff6f626f029a1d
tree923d1371e0457392d302601974da96568c4964fa
parent9c36c97cdb3a2ffd3c8ae040f2b02fd1458f7805
Bugfix: correctly calculate end-- with UTF-8 and use correct function name

When walking back from the end of the string and handling possible UTF-8 characters, the byte width needs to be properly handled.

The functions in these projects are fl_ and not f_.

Includes minor code cleanup.
level_1/fl_string/c/private-string.c
level_1/fl_string/c/string.c
level_1/fl_string/c/string.h
level_1/fl_utf/c/private-utf.c