[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH 2/2] bindings: add easier keystrokes for the lin
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [PATCH 2/2] bindings: add easier keystrokes for the linenumber and softwrap toggles |
Date: |
Sat, 6 Apr 2019 10:35:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Op 06-04-19 om 02:36 schreef Brand Huntsman:
> On Fri, 5 Apr 2019 12:11:36 +0200
> Benno Schulenberg <address@hidden> wrote:
>> s->toggle = toggle;
>> - if (toggle)
>> + if (toggle && tailsc->toggle != toggle)
>> s->ordinal = ++counter;
>> [...]
>
> Is this a fix for something else that accidentally became part of this patch?
It is required to prevent the toggles that get two keystrokes assigned
to them from getting listed twice in the help text.
I will add a comment, and something to the commit message.
Benno
signature.asc
Description: OpenPGP digital signature