summaryrefslogtreecommitdiff
path: root/editors/gate/files/patch-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gate/files/patch-main.c')
-rw-r--r--editors/gate/files/patch-main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/gate/files/patch-main.c b/editors/gate/files/patch-main.c
new file mode 100644
index 000000000000..fa47f6591b78
--- /dev/null
+++ b/editors/gate/files/patch-main.c
@@ -0,0 +1,11 @@
+--- main.c.orig 2005-01-24 17:05:01 UTC
++++ main.c
+@@ -87,7 +87,7 @@ int main(int argc,char **argv)
+ wcol= 0;
+ for (;;)
+ {
+- if (getline(bf[sw], bf[!sw], &wcol, prompt))
++ if (get_line(bf[sw], bf[!sw], &wcol, prompt))
+ {
+ putchar('\n');
+ done(RET_ENTER);