]> Kevux Git Server - fll/commit
Update: use max_width instead of maxWidth, remove f_utf_bom check from f_is_space...
authorKevin Day <thekevinday@gmail.com>
Thu, 22 Aug 2019 00:04:32 +0000 (19:04 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 22 Aug 2019 00:04:32 +0000 (19:04 -0500)
commit2841ab5748320c021403425355ff293590c56d37
tree5cdc7233e7d438e89fdcfd05d2f65537fbf1c3dd
parenta2f702263343e761fe035d5f4f5a7fb85a70bb2f
Update: use max_width instead of maxWidth, remove f_utf_bom check from f_is_space, and provide f_macro_utf_byte_width_is for UTF-8

Cleanup accidental use of maxWidth, when the proper syntax style is instead max_width.

After further review, I have decided to move the f_utf_bom check back outside of the f_is_space() function.

Provide f_macro_utf_byte_width_is() function for getting UTF-8 character widths but returning 0 if the character is ASCII.
level_0/f_utf/c/utf.c
level_0/f_utf/c/utf.h