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>2014-06-13 19:03:15 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2014-06-16 01:42:43 +0400
commit11927f52049e1df1dfd7e5fb1606e0d2ae044d6e (patch)
treef99a506bcf856b88f31ef58366de0c1375ce85b3 /src/thirdparty/ResizableLib
parentcc4ecc9d56b67faf101485fa262f6735ade84fa4 (diff)
Fix uninitialized scalar fields.
Diffstat (limited to 'src/thirdparty/ResizableLib')
-rw-r--r--src/thirdparty/ResizableLib/ResizableDialog.cpp1
-rw-r--r--src/thirdparty/ResizableLib/ResizableMsgSupport.h2
-rw-r--r--src/thirdparty/ResizableLib/ResizableSheet.cpp1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/thirdparty/ResizableLib/ResizableDialog.cpp b/src/thirdparty/ResizableLib/ResizableDialog.cpp
index 4383f9919..c7698b531 100644
--- a/src/thirdparty/ResizableLib/ResizableDialog.cpp
+++ b/src/thirdparty/ResizableLib/ResizableDialog.cpp
@@ -24,6 +24,7 @@ inline void CResizableDialog::PrivateConstruct()
{
m_bEnableSaveRestore = FALSE;
m_dwGripTempState = 1;
+ m_bRectOnly = FALSE;
}
CResizableDialog::CResizableDialog()
diff --git a/src/thirdparty/ResizableLib/ResizableMsgSupport.h b/src/thirdparty/ResizableLib/ResizableMsgSupport.h
index a27cc83bb..901c2e667 100644
--- a/src/thirdparty/ResizableLib/ResizableMsgSupport.h
+++ b/src/thirdparty/ResizableLib/ResizableMsgSupport.h
@@ -31,7 +31,7 @@ typedef struct tagRESIZEPROPERTIES
BOOL bCachedNeedsRefresh;
// initialize with valid data
- tagRESIZEPROPERTIES() : bAskClipping(TRUE), bAskRefresh(TRUE) {}
+ tagRESIZEPROPERTIES() : bAskClipping(TRUE), bAskRefresh(TRUE), bCachedLikesClipping(FALSE), bCachedNeedsRefresh(TRUE) {}
} RESIZEPROPERTIES, *PRESIZEPROPERTIES, *LPRESIZEPROPERTIES;
diff --git a/src/thirdparty/ResizableLib/ResizableSheet.cpp b/src/thirdparty/ResizableLib/ResizableSheet.cpp
index 8bcb7859f..dd7ddc4d0 100644
--- a/src/thirdparty/ResizableLib/ResizableSheet.cpp
+++ b/src/thirdparty/ResizableLib/ResizableSheet.cpp
@@ -27,6 +27,7 @@ inline void CResizableSheet::PrivateConstruct()
m_bEnableSaveRestore = FALSE;
m_bSavePage = FALSE;
m_dwGripTempState = 1;
+ m_bRectOnly = FALSE;
}