class storageForPlugins
{
public:
- storageForPlugins() : m_bstr(NULL)
+ storageForPlugins()
+ : m_bstr(NULL)
+ , m_bOriginalIsUnicode(false)
+ , m_bCurrentIsUnicode(false)
+ , m_bCurrentIsFile(false)
+ , m_bOverwriteSourceFile(false)
+ , m_nChangedValid(0)
+ , m_bError(false)
+ , m_codepage(0)
+ , m_nBomSize(0)
+ , m_nChanged(0)
{
VariantInit(&m_array);
}
/// Convert file to UTF-8 (for diffutils)
bool AnyCodepageToUTF8(int codepage, const String& filepath, const String& filepathDst, int & nFileChanged, bool bWriteBOM);
-#endif //__MULTIFORMATTEXT_H__
\ No newline at end of file
+#endif //__MULTIFORMATTEXT_H__
: CDialog(DirCmpReportDlg::IDD, pParent)
, m_bCopyToClipboard(FALSE)
, m_bIncludeFileCmpReport(FALSE)
+ , m_nReportType(REPORT_TYPE_COMMALIST)
{
}
DirFilterDlg::DirFilterDlg(CWnd* pParent /*=NULL*/)
: CDialog(DirFilterDlg::IDD, pParent)
, m_bCopyToClipboard(FALSE)
+ , m_nReportType(REPORT_TYPE_COMMALIST)
{
}
*/
CGhostTextView::CGhostTextView()
: m_pGhostTextBuffer(NULL)
+, m_nTopSubLinePushed(0)
{
}
: m_pif(0)
, m_nThisPane(0)
, m_mtime(0)
+, m_size(0)
{
}
PropMergeColors::PropMergeColors(COptionsMgr *optionsMgr)
: OptionsPanel(optionsMgr, PropMergeColors::IDD)
{
+ memset(m_cCustColors, 0, sizeof(m_cCustColors));
}
void PropMergeColors::DoDataExchange(CDataExchange* pDX)
m_nPreProcessorBold = GetCheckVal(COLORINDEX_PREPROCESSOR);
m_nUser1Bold = GetCheckVal(COLORINDEX_USER1);
m_nUser2Bold = GetCheckVal(COLORINDEX_USER2);
+
+ memset(m_cCustColors, 0, sizeof(m_cCustColors));
}
void PropSyntaxColors::DoDataExchange(CDataExchange* pDX)
, m_bCustomColors(FALSE)
, m_pTempColors(pColors)
{
+ memset(m_cCustColors, 0, sizeof(m_cCustColors));
}
void PropTextColors::DoDataExchange(CDataExchange* pDX)
BOOL m_bCustomColors;
//}}AFX_DATA
- COLORREF m_clrWhitespaceBackground;
- COLORREF m_clrRegularBackground;
- COLORREF m_clrRegularText;
- COLORREF m_clrSelectionBackground;
- COLORREF m_clrSelectionText;
-
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(PropTextColors)
*/
UniMarkdownFile::UniMarkdownFile()
: m_pMarkdown(NULL)
+, m_depth(0)
+, m_bMove(false)
+, m_transparent(NULL)
{
}
CStringArray CustomStatusCursor::msgStack;
CPtrArray CustomStatusCursor::cursorStack;
CDWordArray CustomStatusCursor::validStack;
-int CustomStatusCursor::stackSize = 0;
+INT_PTR CustomStatusCursor::stackSize = 0;
CustomStatusCursor::CustomStatusCursor()
: m_ended(false)
+, posInStack(0)
{
}
CustomStatusCursor::CustomStatusCursor(HINSTANCE hinst, LPCTSTR lpCursorName, LPCTSTR fmt, ...)
: m_ended(false)
+, posInStack(0)
{
va_list argp;
va_start(argp, fmt);
if (posInStack == cursorStack.GetUpperBound())
{
// find the last valid cursor
- int posValid = posInStack-1;
+ INT_PTR posValid = posInStack-1;
while (validStack.GetAt(posValid) == 0)
posValid --;
ASSERT (posValid >= 0);
* @note valid values : 0 (no wait cursor),
* >= 2 (stack[0] is the default cursor, and stack[1..n] are wait cursors)
*/
- static int stackSize;
+ static INT_PTR stackSize;
/**
* @brief Stack of messages, the currently displayed is the one on top of stack
*