]> granicus.if.org Git - neomutt/commit
Simplify mutt_label_complete().
authorKevin McCarthy <kevin@8t8.us>
Tue, 31 Jan 2017 22:27:36 +0000 (14:27 -0800)
committerKevin McCarthy <kevin@8t8.us>
Tue, 31 Jan 2017 22:27:36 +0000 (14:27 -0800)
commitf9d1fa894338514aa11d3b8dc1e7273ecf1d9d74
treea0880c8fe6b3109f48298bf3116ae6422075c76b
parent73aa509a3d169613ba83259de8fe3dcd6cbd97c5
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