ncurses/ncurses-5.6-fallback.dif

14 lines
417 B
Plaintext
Raw Normal View History

Index: ncurses/tinfo/lib_setup.c
===================================================================
--- ncurses/tinfo/lib_setup.c.orig
+++ ncurses/tinfo/lib_setup.c
@@ -563,7 +563,7 @@ _nc_setupterm(NCURSES_CONST char *tname,
const TERMTYPE *fallback = _nc_fallback(tname);
if (fallback) {
- termp->type = *fallback;
+ _nc_copy_termtype(&(termp->type),fallback);
status = TGETENT_YES;
}
}