ncurses/ncurses-6.1-fallback.dif

20 lines
523 B
Plaintext

---
ncurses/tinfo/lib_setup.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--- ncurses/tinfo/lib_setup.c
+++ ncurses/tinfo/lib_setup.c 2019-03-22 08:46:01.634603415 +0000
@@ -761,7 +761,11 @@ TINFO_SETUP_TERM(TERMINAL **tp,
if (fallback) {
T(("found fallback entry"));
- TerminalType(termp) = *fallback;
+#if NCURSES_EXT_NUMBERS
+ _nc_copy_termtype2(&(TerminalType(termp)),fallback);
+#else
+ _nc_copy_termtype(&(TerminalType(termp)),fallback);
+#endif
status = TGETENT_YES;
}
}