X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Flib_setup.c;h=ab27eb1d8eb90f5719376bc3195de017ef392c6f;hp=de4cb459728ab908f9393cdf6125b9dc30c94a1e;hb=b0916ab669030bac5c8590c0d66e36e1b9b34e9b;hpb=8c3524de1122ce47b3fc6f89769e489cef5a640d diff --git a/ncurses/tinfo/lib_setup.c b/ncurses/tinfo/lib_setup.c index de4cb459..ab27eb1d 100644 --- a/ncurses/tinfo/lib_setup.c +++ b/ncurses/tinfo/lib_setup.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. * + * Copyright (c) 1998-2011,2012 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 * @@ -47,7 +47,7 @@ #include #endif -MODULE_ID("$Id: lib_setup.c,v 1.142 2011/10/22 16:13:06 tom Exp $") +MODULE_ID("$Id: lib_setup.c,v 1.143 2012/02/29 11:50:19 Werner.Fink Exp $") /**************************************************************************** * @@ -666,7 +666,7 @@ TINFO_SETUP_TERM(TERMINAL ** tp, const TERMTYPE *fallback = _nc_fallback(tname); if (fallback) { - termp->type = *fallback; + _nc_copy_termtype(&(termp->type),fallback); status = TGETENT_YES; } }