]> Kevux Git Server - fll/commit
Bugfix: UTF-8 characters are not being fully printed.
authorKevin Day <thekevinday@gmail.com>
Tue, 4 May 2021 05:15:57 +0000 (00:15 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 4 May 2021 05:15:57 +0000 (00:15 -0500)
commit9b272513bb715ac041e7f25442080bba76180e4f
tree5dfc8e668db3eeca1aefb5a6ca76c35ccb4b73ae
parent2295fb8160f65e41035835127412e6bac83e9bde
Bugfix: UTF-8 characters are not being fully printed.

The UTF-8 bytes are correctly checked but when it comes time to print, the fputc() is only called for the first byte.

Cleanup the operators to have '++' and '--' to be prepended rather than appended.

Get out of the practice of using "register".
I don't have time to focus on these kinds of optimizations.
Just leave it to the compiler for now.
level_1/fl_print/c/private-print.c