Skip to content

Commit 2f39b20

Browse files
committed
updated for version 7.3.374
Problem: ++encoding does not work properly. Solution: Recognize ++encoding before ++enc. (Charles Cooper)
1 parent 1747abb commit 2f39b20

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/ex_docmd.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4840,12 +4840,10 @@ getargopt(eap)
48404840
#ifdef FEAT_MBYTE
48414841
else if (STRNCMP(arg, "enc", 3) == 0)
48424842
{
4843-
arg += 3;
4844-
pp = &eap->force_enc;
4845-
}
4846-
else if (STRNCMP(arg, "encoding", 8) == 0)
4847-
{
4848-
arg += 8;
4843+
if (STRNCMP(arg, "encoding", 8) == 0)
4844+
arg += 8;
4845+
else
4846+
arg += 3;
48494847
pp = &eap->force_enc;
48504848
}
48514849
else if (STRNCMP(arg, "bad", 3) == 0)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ static char *(features[]) =
714714

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
374,
717719
/**/
718720
373,
719721
/**/

0 commit comments

Comments
 (0)