mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ fix: obsolete newline after .ini-file sections with comments
This commit is contained in:
parent
a140588a8e
commit
d2867d8263
@ -1 +1 @@
|
||||
2401
|
||||
2402
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<assemblyIdentity
|
||||
name="Notepad3"
|
||||
processorArchitecture="*"
|
||||
version="5.19.721.2401"
|
||||
version="5.19.721.2402"
|
||||
type="win32"
|
||||
/>
|
||||
<description>Notepad3 BETA</description>
|
||||
|
||||
@ -2557,8 +2557,10 @@ CSimpleIniTempl<SI_CHAR,SI_STRLESS,SI_CONVERTER>::Save(
|
||||
for ( ; iValue != oValues.end(); ++iValue) {
|
||||
// write out the comment if there is one
|
||||
if (iValue->pComment) {
|
||||
a_oOutput.Write(SI_NEWLINE_A);
|
||||
bNeedNewLine = false;
|
||||
if (bNeedNewLine) {
|
||||
a_oOutput.Write(SI_NEWLINE_A);
|
||||
bNeedNewLine = false;
|
||||
}
|
||||
if (!OutputMultiLineText(a_oOutput, convert, iValue->pComment)) {
|
||||
return SI_FAIL;
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 19
|
||||
#define VERSION_REV 721
|
||||
#define VERSION_BUILD 2401
|
||||
#define VERSION_BUILD 2402
|
||||
#define SCINTILLA_VER 420
|
||||
#define ONIGURUMA_REGEX_VER 6.9.3
|
||||
#define VERSION_PATCH BETA
|
||||
|
||||
Loading…
Reference in New Issue
Block a user