diff options
-rw-r--r-- | nsis/gvim.nsi | 9 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi index cb2664c09..8e6f6d0d1 100644 --- a/nsis/gvim.nsi +++ b/nsis/gvim.nsi @@ -47,6 +47,11 @@ Unicode true !include gvim_version.nsh # for version number +# Definition of Patch for Vim +!ifndef PATCHLEVEL + !define PATCHLEVEL 0 +!endif + # ----------- No configurable settings below this line ----------- !include "Library.nsh" # For DLL install @@ -181,8 +186,8 @@ VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Vim Developers" VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Vim" VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright (C) 1996" VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Vi Improved - A Text Editor" -VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.0.0" -VIProductVersion "${VER_MAJOR}.${VER_MINOR}.0.0" +VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0" +VIProductVersion "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0" # Global variables Var vim_dialog diff --git a/src/version.c b/src/version.c index 4dbff0b2e..2b869f03d 100644 --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1404, +/**/ 1403, /**/ 1402, |