Skip to content

Commit

Permalink
updated for version 7.3.374
Browse files Browse the repository at this point in the history
Problem:    ++encoding does not work properly.
Solution:   Recognize ++encoding before ++enc. (Charles Cooper)
  • Loading branch information
brammool committed Dec 14, 2011
1 parent 1747abb commit 2f39b20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/ex_docmd.c
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -714,6 +714,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
374,
/**/
373,
/**/
Expand Down

0 comments on commit 2f39b20

Please sign in to comment.