Skip to content
Browse files

updated for version 7.3.374

Problem:    ++encoding does not work properly.
Solution:   Recognize ++encoding before ++enc. (Charles Cooper)
  • Loading branch information...
1 parent 1747abb commit 2f39b20b795800710b82ef0b7857ac02cbadcc48 @brammool brammool committed Dec 14, 2011
Showing with 6 additions and 6 deletions.
  1. +4 −6 src/ex_docmd.c
  2. +2 −0 src/version.c
View
10 src/ex_docmd.c
@@ -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)
View
2 src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 374,
+/**/
373,
/**/
372,

0 comments on commit 2f39b20

Please sign in to comment.
Something went wrong with that request. Please try again.