]> granicus.if.org Git - neomutt/commit
Add menu dialog helper to add rows
authorKevin McCarthy <kevin@8t8.us>
Fri, 19 Apr 2019 20:14:54 +0000 (13:14 -0700)
committerRichard Russon <rich@flatcap.org>
Sun, 5 May 2019 00:00:38 +0000 (01:00 +0100)
commit64ee78abf42fe9a7ed995e780e220816ffaf4fdd
treec82ff7cdbc6dee8788a4277104e29c48005dbe39
parent758e3b043aa66169b17310154723abbf19ad9fdc
Add menu dialog helper to add rows

Remove the manual max calculation and dialog row allocation.

Add a NONULL check because the helper uses safe_strdup() to add a row.

Co-authored-by: Richard Russon <rich@flatcap.org>
menu.c
mutt_menu.h