diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-01-06 14:29:04 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-01-06 14:36:39 +0400 |
commit | 96f927ad2c657e26972bf5fd10e61cc0cace7ee9 (patch) | |
tree | 4fb5ca4f6834c155fdaf0f1b452623535eccde4b /src/thirdparty/TreePropSheet | |
parent | d814d5e140aa7871c50b330ff862342538d4e927 (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.cpp | 4 |
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;
|