]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/MKkeyname.awk
ncurses 5.6 - patch 20070818
[ncurses.git] / ncurses / base / MKkeyname.awk
index 64bbef461eb6ef7b08f5d1e14a10984b3dbce897..c1d9475045d04ca2ebf15f9b3ae1648d954814ec 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: MKkeyname.awk,v 1.37 2007/07/28 21:47:21 tom Exp $
+# $Id: MKkeyname.awk,v 1.38 2007/08/18 18:41:18 tom Exp $
 ##############################################################################
 # Copyright (c) 1999-2006,2007 Free Software Foundation, Inc.                #
 #                                                                            #
@@ -39,7 +39,7 @@ BEGIN {
 /^[^#]/ {
                if (bigstrings) {
                        if (first)  {
-                               print "struct kn { int offset; int code; };"
+                               print "struct kn { short offset; int code; };"
                                print "static const struct kn _nc_key_names[] = {"
                        }
                        printf "\t{ %d, %s },\n", offset, $1