myadm

Simple MySQL client for the terminal
git clone git://git.bitsmanent.org/myadm
Log | Files | Refs | README | LICENSE

commit 028c33fb38940ea64327caf5fbb1e3aef7a0295e
parent 3cea0f946a43954ab74d56645ec80d52dde92d6e
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Tue, 10 Jan 2017 20:40:29 +0100

Remove unused function.
This makes myadm compile with older version of stfl which didn't support stfl_redraw().

Diffstat:
Mmyadm.c | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/myadm.c b/myadm.c @@ -127,7 +127,6 @@ void ui_init(void); void ui_modify(const char *name, const char *mode, const char *fmtstr, ...); void ui_listview(Item *items, Field *fields); void ui_putitem(Item *item, int *lens, int id); -void ui_redraw(void); void ui_refresh(void); void ui_set(const char *key, const char *fmtstr, ...); void ui_showfields(Field *fds, int *lens); @@ -802,12 +801,6 @@ ui_putitem(Item *item, int *lens, int id) { } void -ui_redraw(void) { - if(selview && selview->form) - stfl_redraw(selview->form); -} - -void ui_refresh(void) { if(selview && selview->form) stfl_run(selview->form, -1);