[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:
Don Ho 2014-11-29 17:57:38 +00:00
parent e4499d7a22
commit 019f5eea7d
3 changed files with 2 additions and 3 deletions

View File

@ -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
: _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();
const NewDocDefaultSettings & ndds = (pNppParamInst->getNppGUI()).getNewDocDefaultSettings();

View File

@ -64,7 +64,7 @@ struct TBHDR {
class TabBar : public Window
{
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 void destroy();
virtual void init(HINSTANCE hInst, HWND hwnd, bool isVertical = false, bool isTraditional = false, bool isMultiLine = false);

View File

@ -489,7 +489,6 @@ copy ..\src\contextMenu.xml ..\bin\contextMenu.xml
<ClInclude Include="..\src\WinControls\ProjectPanel\ProjectPanel_rc.h" />
<ClInclude Include="..\src\MISC\RegExt\regExtDlg.h" />
<ClInclude Include="..\src\MISC\RegExt\regExtDlgRc.h" />
<ClInclude Include="..\src\WinControls\Preference\resource.h" />
<ClInclude Include="..\src\resource.h" />
<ClInclude Include="..\src\WinControls\StaticDialog\RunDlg\RunDlg.h" />
<ClInclude Include="..\src\WinControls\shortcut\RunMacroDlg.h" />