X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Flib_tparm.c;fp=ncurses%2Ftinfo%2Flib_tparm.c;h=5666b27b7e098abace692da8f75276eb2b404543;hp=1353eb3f2c9a60b9209eb369c3e4fcaecce67907;hb=135d37072755704b8d018e5de74e62ff3f28c930;hpb=f4056beeb4f75be8c1d1cb7936b2735fa250951a diff --git a/ncurses/tinfo/lib_tparm.c b/ncurses/tinfo/lib_tparm.c index 1353eb3f..5666b27b 100644 --- a/ncurses/tinfo/lib_tparm.c +++ b/ncurses/tinfo/lib_tparm.c @@ -53,7 +53,7 @@ #include #include -MODULE_ID("$Id: lib_tparm.c,v 1.152 2023/09/16 16:30:27 tom Exp $") +MODULE_ID("$Id: lib_tparm.c,v 1.153 2023/11/04 19:28:41 tom Exp $") /* * char * @@ -1120,8 +1120,10 @@ check_string_caps(TPARM_DATA *data, const char *string) want_type = 2; /* function key #1, transmit string #2 */ else if (CHECK_CAP(plab_norm)) want_type = 2; /* label #1, show string #2 */ +#ifdef pkey_plab else if (CHECK_CAP(pkey_plab)) want_type = 6; /* function key #1, type string #2, show string #3 */ +#endif #if NCURSES_XNAMES else { char *check;