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

From: Laslo Hunhold <dev_AT_frign.de>
Date: Thu, 9 Jun 2022 11:13:26 +0200

On Wed, 8 Jun 2022 17:08:57 +0600
NRK <nrk_AT_disroot.org> wrote:

Dear NRK,

> On Mon, Jun 06, 2022 at 10:40:33PM +0200, git_AT_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?

yes, indeed, thank you! I've fixed it now[0].

With best regards

Laslo

[0]:https://git.suckless.org/libgrapheme/commit/5910bc61b6f065cab26682993a76904c37a0f86b.html
Received on Thu Jun 09 2022 - 11:13:26 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 09 2022 - 11:24:30 CEST