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"