Ticket #1546 (new defect) — at Version 2
build broken for --with-screen=ncurses
Reported by: | jue | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.7.0-pre2 |
Component: | mc-tty | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description (last modified by angel_il) (diff)
mc, version 4.7.0-pre1-174-g39c875a, configured to use ncurses:
tty-ncurses.c: In function 'tty_print_anychar':
tty-ncurses.c:301: error: 's' undeclared (first use in this function)
Trivial fix:
diff --git a/src/tty/tty-ncurses.c b/src/tty/tty-ncurses.c index a698b9a..d511037 100644 --- a/src/tty/tty-ncurses.c +++ b/src/tty/tty-ncurses.c @@ -298,7 +298,7 @@ tty_print_anychar (int c) } else { str[res] = '\0'; } - addstr (str_term_form (s)); + addstr (str_term_form (str)); } else { addch (c); }
Change History
Note: See
TracTickets for help on using
tickets.