From 2179160db9851640713ed12f40e1ed806f7e4527 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sun, 14 Nov 2010 20:48:37 +0000 Subject: [PATCH] [BUG_FIXED] (Author: Christian Cuvier) Initialize the variable _edgeNbColumn to avoid crash if config.xml is not present. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@706 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/Parameters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/Parameters.h b/PowerEditor/src/Parameters.h index 40414156f..46d4a9a18 100644 --- a/PowerEditor/src/Parameters.h +++ b/PowerEditor/src/Parameters.h @@ -749,7 +749,7 @@ struct ScintillaViewParams { ScintillaViewParams() : _lineNumberMarginShow(true), _bookMarkMarginShow(true),\ _folderStyle(FOLDER_STYLE_BOX), _foldMarginShow(true), _indentGuideLineShow(true),\ - _currentLineHilitingShow(true), _wrapSymbolShow(false), _doWrap(false),\ + _currentLineHilitingShow(true), _wrapSymbolShow(false), _doWrap(false), _edgeNbColumn(80),\ _zoom(0), _zoom2(0), _whiteSpaceShow(false), _eolShow(false), _lineWrapMethod(LINEWRAP_ALIGNED){}; bool _lineNumberMarginShow; bool _bookMarkMarginShow;