[UPDATE] fix some uninitialized variables issues.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1298 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
e4499d7a22
commit
019f5eea7d
@ -47,7 +47,7 @@ const int LF = 0x0A;
|
|||||||
|
|
||||||
Buffer::Buffer(FileManager * pManager, BufferID id, Document doc, DocFileStatus type, const TCHAR *fileName) //type must be either DOC_REGULAR or DOC_UNNAMED
|
Buffer::Buffer(FileManager * pManager, BufferID id, Document doc, DocFileStatus type, const TCHAR *fileName) //type must be either DOC_REGULAR or DOC_UNNAMED
|
||||||
: _pManager(pManager), _id(id), _isDirty(false), _doc(doc), _isFileReadOnly(false), _isUserReadOnly(false), _recentTag(-1), _references(0),
|
: _pManager(pManager), _id(id), _isDirty(false), _doc(doc), _isFileReadOnly(false), _isUserReadOnly(false), _recentTag(-1), _references(0),
|
||||||
_canNotify(false), _timeStamp(0), _needReloading(false), _encoding(-1), _backupFileName(TEXT("")), _isModified(false)
|
_canNotify(false), _timeStamp(0), _needReloading(false), _encoding(-1), _backupFileName(TEXT("")), _isModified(false), _lang(L_TEXT)
|
||||||
{
|
{
|
||||||
NppParameters *pNppParamInst = NppParameters::getInstance();
|
NppParameters *pNppParamInst = NppParameters::getInstance();
|
||||||
const NewDocDefaultSettings & ndds = (pNppParamInst->getNppGUI()).getNewDocDefaultSettings();
|
const NewDocDefaultSettings & ndds = (pNppParamInst->getNppGUI()).getNewDocDefaultSettings();
|
||||||
|
@ -64,7 +64,7 @@ struct TBHDR {
|
|||||||
class TabBar : public Window
|
class TabBar : public Window
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TabBar() : Window(), _nbItem(0), _hasImgLst(false), _hFont(NULL){};
|
TabBar() : Window(), _nbItem(0), _hasImgLst(false), _hFont(NULL), _hLargeFont(NULL), _hVerticalFont(NULL), _hVerticalLargeFont(NULL){};
|
||||||
virtual ~TabBar() {};
|
virtual ~TabBar() {};
|
||||||
virtual void destroy();
|
virtual void destroy();
|
||||||
virtual void init(HINSTANCE hInst, HWND hwnd, bool isVertical = false, bool isTraditional = false, bool isMultiLine = false);
|
virtual void init(HINSTANCE hInst, HWND hwnd, bool isVertical = false, bool isTraditional = false, bool isMultiLine = false);
|
||||||
|
@ -489,7 +489,6 @@ copy ..\src\contextMenu.xml ..\bin\contextMenu.xml
|
|||||||
<ClInclude Include="..\src\WinControls\ProjectPanel\ProjectPanel_rc.h" />
|
<ClInclude Include="..\src\WinControls\ProjectPanel\ProjectPanel_rc.h" />
|
||||||
<ClInclude Include="..\src\MISC\RegExt\regExtDlg.h" />
|
<ClInclude Include="..\src\MISC\RegExt\regExtDlg.h" />
|
||||||
<ClInclude Include="..\src\MISC\RegExt\regExtDlgRc.h" />
|
<ClInclude Include="..\src\MISC\RegExt\regExtDlgRc.h" />
|
||||||
<ClInclude Include="..\src\WinControls\Preference\resource.h" />
|
|
||||||
<ClInclude Include="..\src\resource.h" />
|
<ClInclude Include="..\src\resource.h" />
|
||||||
<ClInclude Include="..\src\WinControls\StaticDialog\RunDlg\RunDlg.h" />
|
<ClInclude Include="..\src\WinControls\StaticDialog\RunDlg\RunDlg.h" />
|
||||||
<ClInclude Include="..\src\WinControls\shortcut\RunMacroDlg.h" />
|
<ClInclude Include="..\src\WinControls\shortcut\RunMacroDlg.h" />
|
||||||
|
Loading…
Reference in New Issue
Block a user