diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-09-04 09:40:44 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-09-04 09:40:44 -0700 |
commit | d6779597f4707453e9b4cacffa1e9e8ef8b482e8 (patch) | |
tree | 12ffc4f7177925f180f3fb2082c73e8c77053a67 /curs_lib.c | |
parent | c86e294267890b9d9f3614186e31835c490bf551 (diff) |
Fix rv assignment in mutt_window_mvprintw(). (closes #3964)
Mutt doesn't check the return value, so this wasn't causing a bug, but
was incorrect.
Thanks to dcb314 for reporting the issue.
Diffstat (limited to 'curs_lib.c')
-rw-r--r-- | curs_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -665,7 +665,7 @@ int mutt_window_mvprintw (mutt_window_t *win, int row, int col, const char *fmt, va_list ap; int rv; - if ((rv = mutt_window_move (win, row, col) != ERR)) + if ((rv = mutt_window_move (win, row, col)) != ERR) { va_start (ap, fmt); rv = vw_printw (stdscr, fmt, ap); |