[ADD] Add the font LINEDRAW.TTF in svn.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@48 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2007-10-01 21:38:26 +00:00
parent 16ebb8c3db
commit 9b3b105ae8
2 changed files with 4 additions and 6 deletions

View File

@ -357,8 +357,6 @@ bool Notepad_plus::doOpen(const char *fileName, bool isReadOnly)
bool isNewDoc2Close = false; bool isNewDoc2Close = false;
FILE *fp = fopen(longFileName, "rb"); FILE *fp = fopen(longFileName, "rb");
if (fp) if (fp)
{ {
// Notify plugins that current file is just opened // Notify plugins that current file is just opened
@ -7079,14 +7077,14 @@ void Notepad_plus::changeMenuShortcut(unsigned long cmdID, const char *shortcutS
::ModifyMenu(hMenu, cmdID, MF_BYCOMMAND, cmdID, itemStr.c_str()); ::ModifyMenu(hMenu, cmdID, MF_BYCOMMAND, cmdID, itemStr.c_str());
} }
void Notepad_plus::getCurrentOpenedFiles(Session & session) void Notepad_plus::getCurrentOpenedFiles(Session & session)
{ {
_pEditView->saveCurrentPos(); _pEditView->saveCurrentPos();
//--LS: Session SubView restore: _actifView for setting focus on right view. //--LS: Session SubView restore: _actifView for setting focus on right view.
session._actifView = getCurrentView(); //MAIN_VIEW or SUB_VIEW session._actifView = getCurrentView();
session._actifIndex = _mainEditView.getCurrentDocIndex(); int currentDocIndex = session._actifIndex = _mainEditView.getCurrentDocIndex();
//int currentDocIndex = _mainEditView.getCurrentDocIndex();
int currentDocIndex = _mainEditView.getCurrentDocIndex();
for (size_t i = 0 ; i < _mainEditView.getNbDoc() ; i++) for (size_t i = 0 ; i < _mainEditView.getNbDoc() ; i++)
{ {

Binary file not shown.