summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-10-01 18:04:42 +0000
committerBernhard Reutner-Fischer2007-10-01 18:04:42 +0000
commitd24d5c84c2ef76573eb621b9e349e8cb83ae1ae3 (patch)
tree99cb834d35a0ac09a5a3d4a1f0b9c1d9af93c81f
parentfeb7ae7f01e13dce31118e5a58b09b237d25e58c (diff)
downloadbusybox-d24d5c84c2ef76573eb621b9e349e8cb83ae1ae3.zip
busybox-d24d5c84c2ef76573eb621b9e349e8cb83ae1ae3.tar.gz
- ditch 2 bytes
-rw-r--r--editors/vi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vi.c b/editors/vi.c
index eafe767..25c8234 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -1721,7 +1721,7 @@ static char *skip_thing(char * p, int linecnt, int dir, int type)
}
// find matching char of pair () [] {}
-static char *find_pair(char * p, char c)
+static char *find_pair(char * p, const char c)
{
char match, *q;
int dir, level;
@@ -1895,8 +1895,8 @@ static void show_help(void)
"\n\tLast command repeat with \'.\'"
#endif
#if ENABLE_FEATURE_VI_YANKMARK
- "\n\tLine marking with 'x"
- "\n\tNamed buffers with \"x"
+ "\n\tLine marking with 'x"
+ "\n\tNamed buffers with \"x"
#endif
#if ENABLE_FEATURE_VI_READONLY
"\n\tReadonly if vi is called as \"view\""