ncurses 6.2 - patch 20210213
[ncurses.git] / ncurses / base / MKkeyname.awk
index 89cacb28b479395a62e4c5cccc82b23a84a67a8b..b3d04ee77f53113e9e62d6e5c8e7c11e87f7c693 100644 (file)
@@ -1,6 +1,7 @@
-# $Id: MKkeyname.awk,v 1.49 2016/05/28 23:11:26 tom Exp $
+# $Id: MKkeyname.awk,v 1.51 2020/02/02 23:34:34 tom Exp $
 ##############################################################################
-# Copyright (c) 1999-2013,2016 Free Software Foundation, Inc.                #
+# Copyright 2020 Thomas E. Dickey                                            #
+# Copyright 1998-2016,2017 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 "Software"), #
@@ -134,7 +135,7 @@ END {
        print "         } else if (result == 0 && HasTerminal(sp)) {"
        print "                 int j, k;"
        print "                 char * bound;"
-       print "                 TERMTYPE *tp = &(TerminalOf(sp)->type);"
+       print "                 TERMTYPE2 *tp = &TerminalType(TerminalOf(sp));"
        print "                 unsigned save_trace = _nc_tracing;"
        print ""
        print "                 _nc_tracing = 0;        /* prevent recursion via keybound() */"