openbsd-ports/textproc/spiff/patches/patch-12
1998-09-23 23:34:01 +00:00

25 lines
526 B
Plaintext

--- command.c.orig Wed Sep 23 14:06:51 1998
+++ command.c Wed Sep 23 18:42:18 1998
@@ -172,17 +172,17 @@
}
int
-C_is_cmd(inline)
-char *inline;
+C_is_cmd(input_line)
+char *input_line;
{
char *ptr;
/*
** see if this is a command line
** and if so, do the command right away
*/
- if (('\0' != _C_cmdword[0]) && (!S_wordcmp(inline,_C_cmdword)))
+ if (('\0' != _C_cmdword[0]) && (!S_wordcmp(input_line,_C_cmdword)))
{
- ptr = inline;
+ ptr = input_line;
S_nextword(&ptr);
_C_do_a_cmd(ptr);
return(1);