]> granicus.if.org Git - mutt/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)
commitb7182d2a7573935e9314f6978931fd4e66215446
treea0880c8fe6b3109f48298bf3116ae6422075c76b
parent956f7c053575877ad3dd18cb8e1d99f21c5d4001
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