From a5ab21841b11a850b5e8b396a47423da0d45356b Mon Sep 17 00:00:00 2001 From: krlvm <51774833+krlvm@users.noreply.github.com> Date: Mon, 6 Jun 2022 21:56:54 +0300 Subject: [PATCH] Bump version to 1.1.3 --- AccentColorizer/SysColorsModifier.cpp | 3 ++- AccentColorizer/VersionInfo.rc | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/AccentColorizer/SysColorsModifier.cpp b/AccentColorizer/SysColorsModifier.cpp index 938cfda..9a2a1a8 100644 --- a/AccentColorizer/SysColorsModifier.cpp +++ b/AccentColorizer/SysColorsModifier.cpp @@ -15,9 +15,10 @@ void ModifySysColors(COLORREF accentColor) { }; DWORD aNewColors[size]; + COLORREF color = RGB(GetRValue(accentColor), GetGValue(accentColor), GetBValue(accentColor)); for (int i = 0; i < size; i++) { - aNewColors[i] = accentColor; + aNewColors[i] = color; } SetSysColors(size, aElements, aNewColors); diff --git a/AccentColorizer/VersionInfo.rc b/AccentColorizer/VersionInfo.rc index 1312e30..c6e2855 100644 --- a/AccentColorizer/VersionInfo.rc +++ b/AccentColorizer/VersionInfo.rc @@ -51,8 +51,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,1,2,0 - PRODUCTVERSION 1,1,2,0 + FILEVERSION 1,1,3,0 + PRODUCTVERSION 1,1,3,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -68,13 +68,13 @@ BEGIN BLOCK "040004b0" BEGIN VALUE "CompanyName", "krlvm" - VALUE "FileDescription", "Colorize Windows with an accent color" - VALUE "FileVersion", "1.1.2.0" + VALUE "FileDescription", "AccentColorizer" + VALUE "FileVersion", "1.1.3.0" VALUE "InternalName", "AccentColorizer.exe" VALUE "LegalCopyright", "Copyright krlvm (C) 2021-2022" VALUE "OriginalFilename", "AccentColorizer.exe" VALUE "ProductName", "AccentColorizer" - VALUE "ProductVersion", "1.1.2.0" + VALUE "ProductVersion", "1.1.3.0" END END BLOCK "VarFileInfo"