summaryrefslogtreecommitdiff
path: root/editors/gate/files/patch-line.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gate/files/patch-line.c')
-rw-r--r--editors/gate/files/patch-line.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/gate/files/patch-line.c b/editors/gate/files/patch-line.c
new file mode 100644
index 000000000000..c36f28220fe7
--- /dev/null
+++ b/editors/gate/files/patch-line.c
@@ -0,0 +1,11 @@
+--- line.c.orig 2003-06-19 15:06:54 UTC
++++ line.c
+@@ -82,7 +82,7 @@ void mcursor(int *col, int *lin, char ch
+ * If <wbuf> is NULL, then this does a more ordinary, wrapless read.
+ */
+
+-int getline(char *buf, char *wbuf, int *wcol, char *prompt)
++int get_line(char *buf, char *wbuf, int *wcol, char *prompt)
+ {
+ int linemode= (wbuf == NULL); /* reading single line, not file */
+ int wrapon= !linemode; /* is line wrap enabled? */