]> Kevux Git Server - fll/commit
Bugfix: Trimmed printing is not working as expected.
authorKevin Day <thekevinday@gmail.com>
Fri, 3 Jun 2022 01:10:07 +0000 (20:10 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 3 Jun 2022 01:13:55 +0000 (20:13 -0500)
commitc8c59e16bb4cb7936142bff4815b302ad57138de
tree1b1890be265f7987981d263f63dddd5036b7bc13
parent536c3a93174f4a483e098e0686c5a9d1cede745c
Bugfix: Trimmed printing is not working as expected.

The length is being used in several functions where an exclusive stop should be used.

There are some improper max length checks.
These are likely the result of a refactor where range checks were replaced with length checks.

In some cases a counter is missing resulting in an infinite loop.

A stop length should be using a >= rather than an == because the incremented width could be greater than one.
level_1/fl_print/c/print.c
level_1/fl_print/c/private-print.c
level_1/fl_print/c/private-print.h