X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Flib_setup.c;h=3d99d9da538dc1b919361581d587b5caf6fef5ff;hp=b43aa9528a1e8bee44f93a7c46801506eaa8a716;hb=6b99a559185b3b8fad80b56bc2070b08101c33d1;hpb=44963481f15221316cbf9f7289a710f54cab2c84 diff --git a/ncurses/tinfo/lib_setup.c b/ncurses/tinfo/lib_setup.c index b43aa952..3d99d9da 100644 --- a/ncurses/tinfo/lib_setup.c +++ b/ncurses/tinfo/lib_setup.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. * + * Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -48,7 +48,7 @@ #include #endif -MODULE_ID("$Id: lib_setup.c,v 1.197 2018/11/24 22:13:16 tom Exp $") +MODULE_ID("$Id: lib_setup.c,v 1.199 2019/03/23 23:42:20 tom Exp $") /**************************************************************************** * @@ -758,7 +758,7 @@ TINFO_SETUP_TERM(TERMINAL **tp, if (fallback) { T(("found fallback entry")); - TerminalType(termp) = *fallback; + _nc_copy_termtype2(&(TerminalType(termp)), fallback); status = TGETENT_YES; } }