]> granicus.if.org Git - neomutt/commit
Simplify mutt_label_complete(). 385/head
authorKevin McCarthy <kevin@8t8.us>
Tue, 31 Jan 2017 22:27:36 +0000 (14:27 -0800)
committerRichard Russon <rich@flatcap.org>
Fri, 10 Feb 2017 03:32:55 +0000 (03:32 +0000)
commitf97838b7aae7d5b2c1c155712f678504b6304ea1
treef087845cb2c14855841dfff4e6099dd9231fecb7
parent4f976865248181a2cc36de54023ee2e91bf5edba
Simplify mutt_label_complete().

It was derived from mutt_command_complete(), which had more complex
requirements.  For labels, we just need to skip whitespace and
complete based on the passed in buffer.

Therefore, we don't need the pos parameter, or to work backwards from
the end of the buffer.
enter.c
init.c
protos.h