Skip to content

Commit

Permalink
Fix bug in desktop count
Browse files Browse the repository at this point in the history
  • Loading branch information
RadAd committed Nov 29, 2022
1 parent c07db58 commit 2ffe8b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/VDUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ int GetDesktopCount(LogF* pLog, void* logdata)
const CComPtr<Win11::IVirtualDesktopManagerInternal>& pDesktopManagerInternal11 = GetDesktopManagerInternal<Win11::IVirtualDesktopManagerInternal>(pLog, logdata);
if (pDesktopManagerInternal10)
return GetDesktopCount(pLog, logdata, static_cast<Win10::IVirtualDesktopManagerInternal*>(pDesktopManagerInternal10));
else if (pDesktopManagerInternal10)
else if (pDesktopManagerInternal11)
return GetDesktopCount(pLog, logdata, static_cast<Win11::IVirtualDesktopManagerInternal*>(pDesktopManagerInternal11));
else
{
Expand Down
4 changes: 2 additions & 2 deletions src/VirtualDesktop.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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!
Expand Down

0 comments on commit 2ffe8b5

Please sign in to comment.