50b81eadef
It could be, in certain unknown circumstances, the session file (session.xml) is saved with the incorrect characters (for example NUL characters) which leads session file corrupted and empty session loaded on the next launch. This commit makes a backup of session file before rewritting it, then check the session file after it having been writting - if written session file is corrupted, the backup session file will be restored, otherwise the backup file will be removed. Ref: 1. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6133#issuecomment-1121781830 2. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6133#issuecomment-1544703701 Fix #13514, close #13648 |
||
---|---|---|
.. | ||
Test | ||
bin | ||
gcc | ||
installer | ||
misc/chameleon | ||
scintilla.original.forUpdating | ||
src | ||
visual.net |