# HG changeset patch # User Bram Moolenaar # Date 1626351304 -7200 # Node ID 5f6167685bbb6799bef1499320cb95eef745203b # Parent 8f392278ef699e8841e6fd0b6d5fd6689fb69a6f patch 8.2.3164: MS-Windows: reported version lacks patchlevel Commit: https://github.com/vim/vim/commit/0894e0d8087aad4d467fd7b3d87b1930fe661916 Author: Bram Moolenaar Date: Thu Jul 15 14:14:30 2021 +0200 patch 8.2.3164: MS-Windows: reported version lacks patchlevel Problem: MS-Windows: reported version lacks patchlevel, causing some update tools to update too often. (Klaus Frank) Solution: Add the patchlevel to the version. (Christian Brabandt) diff --git a/src/dosinst.c b/src/dosinst.c --- a/src/dosinst.c +++ b/src/dosinst.c @@ -1580,6 +1580,7 @@ install_registry(void) char display_name[BUFSIZE]; char uninstall_string[BUFSIZE]; char icon_string[BUFSIZE]; + char version_string[BUFSIZE]; int i; int loop_count = is_64bit_os() ? 2 : 1; DWORD flag; @@ -1652,13 +1653,15 @@ install_registry(void) sprintf(icon_string, "%s\\gvim.exe,0", installdir); + sprintf(version_string, VIM_VERSION_SHORT "." VIM_VERSION_PATCHLEVEL_STR); + lRet = register_uninstall( HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Vim " VIM_VERSION_SHORT, display_name, uninstall_string, icon_string, - VIM_VERSION_SHORT, + version_string, "Bram Moolenaar et al."); if (ERROR_SUCCESS != lRet) return FAIL; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -756,6 +756,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3164, +/**/ 3163, /**/ 3162,