updated for version 7.3.374

Problem:    ++encoding does not work properly.
Solution:   Recognize ++encoding before ++enc. (Charles Cooper)
This commit is contained in:
Bram Moolenaar
2011-12-14 14:49:45 +01:00
parent 9fb0f89145
commit 9fd390236e
2 changed files with 6 additions and 6 deletions
+4 -6
View File
@@ -4840,12 +4840,10 @@ getargopt(eap)
#ifdef FEAT_MBYTE
else if (STRNCMP(arg, "enc", 3) == 0)
{
arg += 3;
pp = &eap->force_enc;
}
else if (STRNCMP(arg, "encoding", 8) == 0)
{
arg += 8;
if (STRNCMP(arg, "encoding", 8) == 0)
arg += 8;
else
arg += 3;
pp = &eap->force_enc;
}
else if (STRNCMP(arg, "bad", 3) == 0)
+2
View File
@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
374,
/**/
373,
/**/