Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2013-01-06 14:29:04 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2013-01-06 14:36:39 +0400
commit96f927ad2c657e26972bf5fd10e61cc0cace7ee9 (patch)
tree4fb5ca4f6834c155fdaf0f1b452623535eccde4b /src/thirdparty/TreePropSheet
parentd814d5e140aa7871c50b330ff862342538d4e927 (diff)
Revert "Replace ZeroMemory() with SecureZeroMemory(). The MSDN article for ZeroMemory says: "To avoid any undesired effects of optimizing compilers, use the SecureZeroMemory function.""
This reverts commit 0533530d9f661b0ec19756382a8c99b679182b5f. Conflicts: src/thirdparty/ResizableLib/ResizableState.cpp src/thirdparty/TreePropSheet/TreePropSheet.cpp
Diffstat (limited to 'src/thirdparty/TreePropSheet')
-rw-r--r--src/thirdparty/TreePropSheet/TreePropSheet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thirdparty/TreePropSheet/TreePropSheet.cpp b/src/thirdparty/TreePropSheet/TreePropSheet.cpp
index d6cf85c9c..3d30bfcc4 100644
--- a/src/thirdparty/TreePropSheet/TreePropSheet.cpp
+++ b/src/thirdparty/TreePropSheet/TreePropSheet.cpp
@@ -337,7 +337,7 @@ void CTreePropSheet::RefillPageTree()
CString strPagePath;
TCITEM ti;
- SecureZeroMemory(&ti, sizeof(ti));
+ ZeroMemory(&ti, sizeof(ti));
ti.mask = TCIF_TEXT|TCIF_IMAGE;
ti.cchTextMax = MAX_PATH;
ti.pszText = strPagePath.GetBuffer(ti.cchTextMax);
@@ -577,7 +577,7 @@ void CTreePropSheet::UpdateCaption()
if (pImages)
{
TCITEM ti;
- SecureZeroMemory(&ti, sizeof(ti));
+ ZeroMemory(&ti, sizeof(ti));
ti.mask = TCIF_IMAGE;
HICON hIcon = NULL;