summaryrefslogtreecommitdiff
path: root/editors/uemacs/files/patch-src_eval.c
blob: fc48ff84f61fe92f55b38871ae14061f234e6bc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Patch attached with submission follows:

--- /usr/ports/editors/uemacs/work/src/eval.c	1996-01-02 20:13:24.000000000 +1100
+++ src/eval.c	2012-01-23 06:07:26.878469857 +1100
@@ -1480,7 +1480,7 @@
 	/* if we are turning this facility off, just flag so */
 	if (wclist == NULL || *wclist == 0) {
 		wlflag = FALSE;
-		return;
+		return NULL;
 	}
 
 	/* first clear the table */
@@ -1492,7 +1492,7 @@
 	while (*wclist)
 		wordlist[(unsigned char)(*wclist++)] = TRUE;	/* ep */
 	wlflag = TRUE;
-	return;
+	return NULL;
 }
 
 /*	getwlist:	place in a buffer a list of characters