Skip to content

Commit

Permalink
Update comments related to new unique identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
vldmr11080 committed Feb 17, 2020
1 parent 5a36651 commit 8e89802
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/fancyzones/lib/JsonHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace

std::wstring ExtractVirtualDesktopId(const std::wstring& deviceId)
{
// Format: <device-id>_<resolution>_<virtual-desktop-id>
// Format: <device-id>_<virtual-desktop-id>
return deviceId.substr(deviceId.rfind('_') + 1);
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/modules/fancyzones/lib/ZoneWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ namespace ZoneWindowUtils

std::wstring GenerateUniqueId(PCWSTR deviceId, PCWSTR virtualDesktopId)
{
wchar_t uniqueId[256]{}; // Parsed deviceId + resolution + virtualDesktopId
// Format: <device-id>_<virtual-desktop-id>
wchar_t uniqueId[256]{};

if (virtualDesktopId)
{
Expand Down

0 comments on commit 8e89802

Please sign in to comment.