summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-29 19:50:41 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-29 19:50:41 +0100
commit72981ac94ff7aeaa596d535448ee0bef46050acf (patch)
tree6e832cafa120b277b81936ac9d3057b65998eebf /src
parentcb36c2a3cdd5610487dd830d430bf022f288328d (diff)
patch 9.0.0107: condition always has the same valuev9.0.0107
Problem: Condition always has the same value. Solution: Remove the condition.
Diffstat (limited to 'src')
-rw-r--r--src/userfunc.c5
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index 9f8442277f..ae3e20202b 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -3997,10 +3997,7 @@ trans_function_name(
{
if (vim9script && lead == 2 && !ASCII_ISUPPER(*lv.ll_name))
{
- semsg(_(vim9script
- ? e_function_name_must_start_with_capital_str
- : e_function_name_must_start_with_capital_or_s_str),
- start);
+ semsg(_(e_function_name_must_start_with_capital_str), start);
goto theend;
}
lead = 3;
diff --git a/src/version.c b/src/version.c
index 44ee33f7cf..79802aa65d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -736,6 +736,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 107,
+/**/
106,
/**/
105,