]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1500: if_python: typo in python error variable v9.1.1500
authorDamien Lejay <damien@lejay.be>
Tue, 1 Jul 2025 19:57:59 +0000 (21:57 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 1 Jul 2025 19:57:59 +0000 (21:57 +0200)
Problem:  if_python: typo in python error variable
Solution: fix typo (Damien Lejay)

closes: #17640

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/errors.h
src/if_python.c
src/version.c

index 042ab287c992fc744cfcc1a3d8bd90b23793eebf..6ca05b59fab40a49ef36f7953ac7a4545c6f353a 100644 (file)
@@ -2303,7 +2303,7 @@ EXTERN char e_cant_rename_viminfo_file_to_str[]
        INIT(= N_("E886: Can't rename viminfo file to %s!"));
 #endif
 #if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
-EXTERN char e_sorry_this_command_is_disabled_python_side_module_could_not_be_loaded[]
+EXTERN char e_sorry_this_command_is_disabled_python_site_module_could_not_be_loaded[]
        INIT(= N_("E887: Sorry, this command is disabled, the Python's site module could not be loaded."));
 #endif
 EXTERN char e_nfa_regexp_cannot_repeat_str[]
index aa496f23f7f70d7a41d72a96941540b1e8fa1236..012a3e776948bfcbf56ff04b02f8b437b0d68c64 100644 (file)
@@ -958,7 +958,7 @@ Python_Init(void)
        site = PyImport_ImportModule("site");
        if (site == NULL)
        {
-           emsg(_(e_sorry_this_command_is_disabled_python_side_module_could_not_be_loaded));
+           emsg(_(e_sorry_this_command_is_disabled_python_site_module_could_not_be_loaded));
            goto fail;
        }
        Py_DECREF(site);
index 7181bae96c034c94a972586055213394b688cf34..cbf39bf2d14d4b49a17005ce34d533ccd5151957 100644 (file)
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1500,
 /**/
     1499,
 /**/