--- ncurses/tinfo/lib_setup.c +++ ncurses/tinfo/lib_setup.c 2008-11-14 18:54:38.539715994 +0100 @@ -566,7 +566,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; } }