Skip to content

Commit ce9f43d

Browse files
committed
Release 5.0.3 Fix duplicate capabilities
1 parent a5834d4 commit ce9f43d

File tree

6 files changed

+732
-59
lines changed

6 files changed

+732
-59
lines changed

AppExec/capabilities.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ bool App::InitializeCapabilities() {
2121
memset(&lvw, 0, sizeof(lvw));
2222
lvw.cx = 200;
2323
ListView_InsertColumn(appx.hlview, 0, &lvw);
24-
constexpr std::size_t wnlen = sizeof(wncas) / sizeof(CapabilityName);
24+
constexpr std::size_t wnlen = sizeof(capabilityNames) / sizeof(CapabilityName);
2525
for (std::size_t n = wnlen; n > 0; n--) {
26-
const auto &w = wncas[n - 1];
26+
const auto &w = capabilityNames[n - 1];
2727
LVITEMW item;
2828
ZeroMemory(&item, sizeof(item));
2929
item.mask = LVIF_TEXT | LVIF_PARAM;

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ endif()
7171
#
7272
set(PRIVEXEC_VERSION_MAJOR 5)
7373
set(PRIVEXEC_VERSION_MINOR 0)
74-
set(PRIVEXEC_VERSION_PATCH 2)
74+
set(PRIVEXEC_VERSION_PATCH 3)
7575
set(PACKAGE_VERSION "${PRIVEXEC_VERSION_MAJOR}.${PRIVEXEC_VERSION_MINOR}.${PRIVEXEC_VERSION_PATCH}")
7676

7777
string(TOLOWER "${CMAKE_C_COMPILER_ARCHITECTURE_ID}" COMPILER_ARCH_ID)

Privexec/capabilities.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ bool App::InitializeCapabilities() {
2727
memset(&lvw, 0, sizeof(lvw));
2828
lvw.cx = 200;
2929
ListView_InsertColumn(capabilities.hlview, 0, &lvw);
30-
constexpr std::size_t wnlen = sizeof(wncas) / sizeof(CapabilityName);
30+
constexpr std::size_t wnlen = sizeof(capabilityNames) / sizeof(CapabilityName);
3131
for (std::size_t n = wnlen; n > 0; n--) {
32-
const auto &w = wncas[n - 1];
32+
const auto &w = capabilityNames[n - 1];
3333
LVITEMW item;
3434
ZeroMemory(&item, sizeof(item));
3535
item.mask = LVIF_TEXT | LVIF_PARAM;

0 commit comments

Comments
 (0)