Re: [dev] [surf] [patch] strip uri leading whitespace when ctrl-p

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Fri, 20 Oct 2017 11:11:16 +0200

> Hi Quentin,

Hi Sijmen,

> > +               for (; *text && (*text == ' ' || *text == '\t');
> > ++text)
> > +                       ;
>
> Sweet and simple. The first *text check does seem unnecessary as it's
> covered by the second part.

Right!
I inverted my logic at some point and forgot the *text, thanks.

-- Quentin
Received on Fri Oct 20 2017 - 11:11:16 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 20 2017 - 11:12:16 CEST