about summary refs log tree commit diff stats
path: root/src/LYStrings.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2008-09-04 00:27:30 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2008-09-04 00:27:30 -0400
commit3ec9560de810415534fac8c4e49caa5def1176de (patch)
treef238951bef9a2931374325014a0dbcd2d297b65c /src/LYStrings.h
parentf06e47e4c02793186e0cb85966d7e4aac63c0618 (diff)
downloadlynx-snapshots-3ec9560de810415534fac8c4e49caa5def1176de.tar.gz
snapshot of project "lynx", label v2-8-7dev_9g
Diffstat (limited to 'src/LYStrings.h')
-rw-r--r--src/LYStrings.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/LYStrings.h b/src/LYStrings.h
index 56cfb87a..4e821cf4 100644
--- a/src/LYStrings.h
+++ b/src/LYStrings.h
@@ -1,3 +1,6 @@
+/*
+ * $LynxId: LYStrings.h,v 1.66 2008/09/01 15:09:03 tom Exp $
+ */
 #ifndef LYSTRINGS_H
 #define LYSTRINGS_H
 
@@ -183,6 +186,8 @@ extern "C" {
 #define ENHANCED_LINEEDIT
 #endif
 
+#define MAX_EDIT 1024
+
 /* EditFieldData preserves state between calls to LYEdit1
  */
     typedef struct _EditFieldData {
@@ -207,7 +212,10 @@ extern "C" {
 				   unactive mark.  */
 #endif
 
-	char buffer[1024];	/* String buffer                          */
+	char buffer[MAX_EDIT];	/* String buffer                          */
+
+	int offset2col[MAX_EDIT * 2];
+	int col2offset[MAX_EDIT * 2];
 
     } EditFieldData;