summaryrefslogtreecommitdiff
path: root/editors/gate/files/patch-spel.c
blob: 53ae7f923153319f7c4be6a72f8d237487666f41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- spel.c.orig	2003-06-19 16:55:51 UTC
+++ spel.c
@@ -151,7 +151,7 @@ empty_repl()
 /* ADD_REPL - Add the given replacement to the list of replacements.
  * "replace" may be NULL to indicate that the word is to be ignored.
  */
-
+void
 add_repl(char *word, int word_len, char *replace)
 {
     struct repl *r;
@@ -683,7 +683,7 @@ int fix_word(char *line, int offset, int
     for(;;)
     {
 	subtask= 1;
-	if (getline(bf,NULL,&wcol,st))
+	if (get_line(bf,NULL,&wcol,st))
 	{
 	    printf("\nSpell Check Interupted.\n");
 	    return 1;