aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2002-04-26 07:41:22 +0000
committerTim Riker <tim@rikers.org>2002-04-26 07:41:22 +0000
commit86c76a9c2a0160d5d975dc8179c597804581117a (patch)
treed465835659693db3c41045550a1db6e4447100c8
parent0e28e1fa0551487dd28a42f1dbeb5bf717817175 (diff)
downloadbusybox-86c76a9c2a0160d5d975dc8179c597804581117a.tar.gz
fix from kergoth
-rw-r--r--editors/vi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c
index a187c6dd0..a8f5203c8 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -19,7 +19,7 @@
*/
static const char vi_Version[] =
- "$Id: vi.c,v 1.20 2001/12/20 23:12:47 kraai Exp $";
+ "$Id: vi.c,v 1.21 2002/04/26 07:41:22 timr Exp $";
/*
* To compile for standalone use:
@@ -342,7 +342,7 @@ extern int vi_main(int argc, char **argv)
reg[i] = 0;
} // init the yank regs
#endif /* CONFIG_FEATURE_VI_YANKMARK */
-#ifdef CONFIG_FEATURE_VI_DOT_CMD
+#if defined(CONFIG_FEATURE_VI_DOT_CMD) || defined(CONFIG_FEATURE_VI_YANKMARK)
modifying_cmds = (Byte *) "aAcCdDiIJoOpPrRsxX<>~"; // cmds modifying text[]
#endif /* CONFIG_FEATURE_VI_DOT_CMD */