Re: [hackers] [libgrapheme] Implement word-segmentation || Laslo Hunhold

2022-06-09 Thread Laslo Hunhold
On Wed, 8 Jun 2022 17:08:57 +0600 NRK wrote: Dear NRK, > On Mon, Jun 06, 2022 at 10:40:33PM +0200, g...@suckless.org wrote: > > + /* with no breaks we break at the end */ > > + if (off == len) { > > + return len; > > + } else { > > + return off; > > + } > > This

[hackers] [libgrapheme] Remove redundant branch || Laslo Hunhold

2022-06-09 Thread git
commit 5910bc61b6f065cab26682993a76904c37a0f86b Author: Laslo Hunhold AuthorDate: Thu Jun 9 11:12:04 2022 +0200 Commit: Laslo Hunhold CommitDate: Thu Jun 9 11:12:04 2022 +0200 Remove redundant branch Thanks NRK for spotting this! Signed-off-by: Laslo Hunhold diff