diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index eae0a57a9..524984ac6 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -284,8 +284,8 @@ LRESULT Notepad_plus::init(HWND hwnd) //--Status Bar Section--// bool willBeShown = nppGUI._statusBarShow; _statusBar.init(_pPublicInterface->getHinst(), hwnd, 6); - _statusBar.setPartWidth(STATUSBAR_DOC_SIZE, 250); - _statusBar.setPartWidth(STATUSBAR_CUR_POS, 300); + _statusBar.setPartWidth(STATUSBAR_DOC_SIZE, 170); + _statusBar.setPartWidth(STATUSBAR_CUR_POS, 380); _statusBar.setPartWidth(STATUSBAR_EOF_FORMAT, 80); _statusBar.setPartWidth(STATUSBAR_UNICODE_TYPE, 100); _statusBar.setPartWidth(STATUSBAR_TYPING_MODE, 30); diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index 7d207c3ce..fdaca5a6d 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -626,7 +626,7 @@ bool Notepad_plus::fileSave(BufferID id) const TCHAR *fn = buf->getFullPathName(); if (buf->isUntitled()) { - return fileSaveAs(id); + return fileSaveAs(bufferID); } else { @@ -1042,7 +1042,7 @@ const TCHAR * Notepad_plus::fileSaveSession(size_t nbFile, TCHAR ** fileNames, c if (sessionFile2save) { Session currentSession; - if ((nbFile) && (!fileNames)) + if ((nbFile) && (fileNames)) { for (size_t i = 0 ; i < nbFile ; i++) {