[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev [PATCH 2.8.4dev.18] WIN_EX cleanup
From: |
Ilya Zakharevich |
Subject: |
lynx-dev [PATCH 2.8.4dev.18] WIN_EX cleanup |
Date: |
Wed, 14 Feb 2001 02:48:23 -0500 |
User-agent: |
Mutt/1.2.5i |
This replaces some WIN_EX by CAN_CUT_AND_PASTE (in preparation for an
OS/2 patch).
Enjoy,
Ilya
--- ./src/LYEditmap.c-precut Mon Feb 12 22:57:42 2001
+++ ./src/LYEditmap.c Wed Feb 14 00:33:12 2001
@@ -49,7 +49,7 @@ LYE_NOP, LYE_ENTER, LYE_FORW
LYE_BACKW, LYE_NOP, LYE_DELN, LYE_NOP,
/* ^P XON ^R XOFF */
-#ifdef WIN_EX
+#ifdef CAN_CUT_AND_PASTE
LYE_UPPER, LYE_ERASE, LYE_LKCMD, LYE_PASTE,
#else
LYE_UPPER, LYE_ERASE, LYE_LKCMD, LYE_NOP,
@@ -295,7 +295,7 @@ LYE_NOP, LYE_ENTER, LYE_FORW
LYE_BACKW, LYE_NOP, LYE_DELPW, LYE_NOP,
/* ^P XON ^R XOFF */
-#ifdef WIN_EX
+#ifdef CAN_CUT_AND_PASTE
LYE_DELNW, LYE_ERASE, LYE_LKCMD, LYE_PASTE,
#else
LYE_DELNW, LYE_ERASE, LYE_LKCMD, LYE_NOP,
--- ./src/LYForms.c-precut Mon Feb 12 22:57:42 2001
+++ ./src/LYForms.c Wed Feb 14 00:35:16 2001
@@ -8,8 +8,8 @@
#include <UCAux.h>
#include <LYUtils.h>
#include <LYStructs.h> /* includes HTForms.h */
-#include <LYStrings.h>
#include <LYGlobalDefs.h>
+#include <LYStrings.h>
#include <LYKeymap.h>
#include <LYClean.h>
@@ -600,7 +600,7 @@ again:
break;
}
-#if defined(WIN_EX) /* 1998/10/01 (Thu) 19:19:22 */
+#ifdef CAN_CUT_AND_PASTE /* 1998/10/01 (Thu) 19:19:22 */
#define FORM_PASTE_MAX 8192
@@ -649,7 +649,8 @@ again:
}
break;
}
-#else
+#endif
+#ifndef WIN_EX
if (action == LYE_AIX &&
(HTCJK == NOCJK && LYlowest_eightbit[current_char_set] > 0x97))
break;
--- ./src/LYGlobalDefs.h-precut Mon Feb 12 22:57:42 2001
+++ ./src/LYGlobalDefs.h Wed Feb 14 00:29:24 2001
@@ -473,6 +473,7 @@ extern BOOLEAN focus_window;
extern BOOLEAN system_is_NT;
extern char windows_drive[4];
extern int lynx_timeout;
+#define CAN_CUT_AND_PASTE
#endif /* _WINDOWS */
#ifdef SH_EX
--- ./src/LYStrings.c-precut Mon Feb 12 22:57:44 2001
+++ ./src/LYStrings.c Wed Feb 14 00:37:44 2001
@@ -2,8 +2,8 @@
#include <HTCJK.h>
#include <UCAux.h>
#include <LYUtils.h>
-#include <LYStrings.h>
#include <LYGlobalDefs.h>
+#include <LYStrings.h>
#include <GridText.h>
#include <LYKeymap.h>
#include <LYClean.h>
@@ -4688,7 +4688,7 @@ again:
CTRACE((tfp, "LYgetstr(%s) LYE_ENTER\n", inputline));
return(ch);
-#if defined(WIN_EX)
+#ifdef CAN_CUT_AND_PASTE
/* 1998/10/01 (Thu) 15:05:49 */
#define PASTE_MAX 512
--- ./src/LYUtils.h-precut Mon Feb 12 22:47:12 2001
+++ ./src/LYUtils.h Wed Feb 14 00:31:36 2001
@@ -174,9 +174,12 @@ extern void LYRegisterUIPage PARAMS((CON
#define LYUnRegisterUIPage(type) LYRegisterUIPage(NULL, type)
extern void LYUIPages_free NOPARAMS;
-#if defined(WIN_EX) /* 1997/10/16 (Thu) 20:13:28 */
+#ifdef CAN_CUT_AND_PASTE
extern int put_clip(char *szBuffer);
extern int get_clip(char *szBuffer, int size);
+#endif
+
+#if defined(WIN_EX) /* 1997/10/16 (Thu) 20:13:28 */
extern char *HTDOS_short_name(char *path);
extern char *w32_strerror(DWORD ercode);
#endif
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev [PATCH 2.8.4dev.18] WIN_EX cleanup,
Ilya Zakharevich <=