From fee8cbecc3c2cb0da807be514d02314e69c10fac Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Sun, 11 Oct 2020 22:25:06 -0700
Subject: [PATCH] Re-sync with uifc.h: WIN_GET->COPY WIN_PUT->PASTE
 WIN_HLP->CUT

As poinsted out by Mlong, these constant names got out of sync with uifc.h
over the years. WIN_HLP isn't used UIFC in jsexec (js_uifc.c).
---
 exec/load/uifcdefs.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/exec/load/uifcdefs.js b/exec/load/uifcdefs.js
index 8ff09e6a13..7c17873896 100644
--- a/exec/load/uifcdefs.js
+++ b/exec/load/uifcdefs.js
@@ -81,12 +81,12 @@ const WIN_DELACT	= (1<<8);	/* Remains active after delete key */
 const WIN_ESC 		= (1<<9);	/* Screen is active when escape is hit			 */
 const WIN_RHT 		= (1<<10);	/* Place window against right side of screen */
 const WIN_BOT 		= (1<<11);	/* Place window against botton of screen */
-const WIN_GET 		= (1<<12);	/* Allows F5 to Get a menu item */
-const WIN_PUT 		= (1<<13);	/* Allows F6 to Put a menu item */
+const WIN_COPY 		= (1<<12);	/* Allows F5 to Get (copy) a menu item */
+const WIN_PASTE		= (1<<13);	/* Allows F6 to Put (paste) a menu item */
 const WIN_CHE 		= (1<<14);	/* Stay active after escape if changes */
 const WIN_XTR 		= (1<<15);	/* Add extra line at end for inserting at end */
 const WIN_DYN 		= (1<<16);	/* Dynamic window - return at least every second */
-const WIN_HLP 		= (1<<17);	/* Parse 'Help codes' */
+const WIN_CUT		= (1<<17);	/* Allow ^X (cut) a menu item */
 const WIN_PACK 		= (1<<18);	/* Pack text in window (No padding) */
 const WIN_IMM 		= (1<<19);	/* Draw window and return immediately */
 const WIN_FAT		= (1<<20);	/* Do not pad outside borders */
-- 
GitLab