]> granicus.if.org Git - neomutt/commit
Convert pager help string to use struct Buffer
authorKevin McCarthy <kevin@8t8.us>
Fri, 19 Apr 2019 22:04:43 +0000 (15:04 -0700)
committerRichard Russon <rich@flatcap.org>
Sun, 5 May 2019 00:00:38 +0000 (01:00 +0100)
commite7fc897a82758b158921c63df7b07d2535be8600
treeeae0aa35c18456a46013468a2da17a031b81155c
parent1f9807601a2717cfec5f55816c8a678c733ee430
Convert pager help string to use struct Buffer

Remove the awkward string truncation warnings, and remove helpstr and
tmphelp char arrays from the stack.

Because the pager is fairly long lived, allocate the helpstr instead
of using the pool.

Co-authored-by: Richard Russon <rich@flatcap.org>
pager.c