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 is

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

2022-06-08 Thread 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 is just the same as `return off;` , is it not? - NRK

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

2022-06-06 Thread git
commit 1a67a7fc7df73df260f8b7a18effd3b3e2b161c7 Author: Laslo Hunhold AuthorDate: Mon Jun 6 22:16:46 2022 +0200 Commit: Laslo Hunhold CommitDate: Mon Jun 6 22:40:22 2022 +0200 Implement word-segmentation This was a tough nut to crack and took a lot of hours and multiple