diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-10-27 16:26:33 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-10-27 16:26:33 +0200 |
commit | f7b21273b33bce95e6980180b677d101a2db8fcd (patch) | |
tree | 6a8b80b41d0912d6f996ef6c30a27d74a754a74e /src/ui.c | |
parent | ae3ff185526ac4a0c1b50398c79d43af0cbbb4df (diff) |
coverity fixup's
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -179,7 +179,8 @@ do_ui_update(bool timed_out) if (postupdate_callback(timed_out) != UICB_OK) return UICB_ERR_CB; - move(cur_y, cur_x); + if (move(cur_y, cur_x) == ERR) + return UICB_ERR_CB; refresh(); return (retval); } |