aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-wallet-res.rc
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-10-22 13:59:18 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-11-18 12:00:57 -0500
commit8f7b93047581c67f2133cdb8c7845471de66c30f (patch)
tree69c47944462ea9cc18aa1f84adc20dff626e171f /src/bitcoin-wallet-res.rc
parent50e019a97a5b49caee867ec7d630fca908caed9d (diff)
downloadbitcoin-8f7b93047581c67f2133cdb8c7845471de66c30f.tar.xz
Drop the leading 0 from the version number
Removes the leading 0 from the version number. The minor version, which we had been using as the major version, is now the major version. The revision, which we had been using as the minor version, is now the minor version. The revision number is dropped. The build number is promoted to being part of the version number. This also avoids issues where it was accidentally not included in the version number. The CLIENT_VERSION remains the same format as previous as previously, the Major version was 0 so that was never a factor in CLIENT_VERSION.
Diffstat (limited to 'src/bitcoin-wallet-res.rc')
-rw-r--r--src/bitcoin-wallet-res.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bitcoin-wallet-res.rc b/src/bitcoin-wallet-res.rc
index e9fa2dbb40..59346ab8f6 100644
--- a/src/bitcoin-wallet-res.rc
+++ b/src/bitcoin-wallet-res.rc
@@ -1,8 +1,8 @@
#include <windows.h> // needed for VERSIONINFO
#include "clientversion.h" // holds the needed client version information
-#define VER_PRODUCTVERSION CLIENT_VERSION_MAJOR,CLIENT_VERSION_MINOR,CLIENT_VERSION_REVISION,CLIENT_VERSION_BUILD
-#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
+#define VER_PRODUCTVERSION CLIENT_VERSION_MAJOR,CLIENT_VERSION_MINOR,CLIENT_VERSION_BUILD
+#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_BUILD)
#define VER_FILEVERSION VER_PRODUCTVERSION
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR