From 2ffe8b5a40a445564a4cdbc72f5411cade1ead83 Mon Sep 17 00:00:00 2001 From: RadAd Date: Wed, 30 Nov 2022 10:11:11 +1100 Subject: [PATCH] Fix bug in desktop count --- src/VDUtils.cpp | 2 +- src/VirtualDesktop.rc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VDUtils.cpp b/src/VDUtils.cpp index 91c40cc..51570d1 100644 --- a/src/VDUtils.cpp +++ b/src/VDUtils.cpp @@ -199,7 +199,7 @@ int GetDesktopCount(LogF* pLog, void* logdata) const CComPtr& pDesktopManagerInternal11 = GetDesktopManagerInternal(pLog, logdata); if (pDesktopManagerInternal10) return GetDesktopCount(pLog, logdata, static_cast(pDesktopManagerInternal10)); - else if (pDesktopManagerInternal10) + else if (pDesktopManagerInternal11) return GetDesktopCount(pLog, logdata, static_cast(pDesktopManagerInternal11)); else { diff --git a/src/VirtualDesktop.rc b/src/VirtualDesktop.rc index abc2ca4..41a9259 100644 --- a/src/VirtualDesktop.rc +++ b/src/VirtualDesktop.rc @@ -8,7 +8,7 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,3,0,0 + FILEVERSION 1,3,1,0 PRODUCTVERSION 3,0,2,2161 FILEFLAGSMASK 0x17L #ifdef _DEBUG @@ -24,7 +24,7 @@ BEGIN BEGIN BLOCK "040904E4" BEGIN - VALUE "FileVersion", "1.3.0.0" + VALUE "FileVersion", "1.3.1.0" VALUE "LegalCopyright", "© 2021 - Adam Gates" // Don't change the entries below!