From 9b5e78353a9daef358004e2b97d415d414b03480 Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Wed, 26 Jul 2017 17:27:34 +0000 Subject: [PATCH] [RAPPS] - A quick fix for counter - used a list that is not updated prior to the message svn path=/branches/GSoC_2017/rapps/; revision=75413 --- reactos/base/applications/rapps/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/base/applications/rapps/gui.cpp b/reactos/base/applications/rapps/gui.cpp index 0a5a925bdde..3e126ebe42d 100644 --- a/reactos/base/applications/rapps/gui.cpp +++ b/reactos/base/applications/rapps/gui.cpp @@ -1023,7 +1023,7 @@ private: /* Check if the item is checked */ if ((pnic->uNewState & LVIS_STATEIMAGEMASK) && !bUpdating) { - BOOL checked = m_ListView->GetCheckState(pnic->iItem); + BOOL checked = ListView_GetCheckState(pnic->hdr.hwndFrom, pnic->iItem); nSelectedApps += (checked) ? 1 : -1; UpdateStatusBarText(); } -- 2.17.1