aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c
index c5a37d750..b1d7034d4 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -19,7 +19,7 @@
19 */ 19 */
20 20
21static const char vi_Version[] = 21static const char vi_Version[] =
22 "$Id: vi.c,v 1.36 2004/04/14 17:51:09 andersen Exp $"; 22 "$Id: vi.c,v 1.37 2004/07/20 06:44:46 andersen Exp $";
23 23
24/* 24/*
25 * To compile for standalone use: 25 * To compile for standalone use:
@@ -693,12 +693,13 @@ static void colon(Byte * buf)
693 // :s/find/replace/ // substitute pattern "find" with "replace" 693 // :s/find/replace/ // substitute pattern "find" with "replace"
694 // :!<cmd> // run <cmd> then return 694 // :!<cmd> // run <cmd> then return
695 // 695 //
696 forced = useforce = FALSE;
697
696 if (strlen((char *) buf) <= 0) 698 if (strlen((char *) buf) <= 0)
697 goto vc1; 699 goto vc1;
698 if (*buf == ':') 700 if (*buf == ':')
699 buf++; // move past the ':' 701 buf++; // move past the ':'
700 702
701 forced = useforce = FALSE;
702 li = st = ch = i = 0; 703 li = st = ch = i = 0;
703 b = e = -1; 704 b = e = -1;
704 q = text; // assume 1,$ for the range 705 q = text; // assume 1,$ for the range