From 5a8a12d7a2c69610cd7a9a00ed1b3579b750a914 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 16 11月 2019 21:39:10 +0800 Subject: [PATCH] issue #42 #38 \n review build system, \n issue #38 added clang format --- src/library/ini/SimpleIni.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/library/ini/SimpleIni.h b/src/library/ini/SimpleIni.h index 05e2631..ac703b2 100644 --- a/src/library/ini/SimpleIni.h +++ b/src/library/ini/SimpleIni.h @@ -1912,7 +1912,7 @@ if (pComment) { DeleteString(a_pComment); a_pComment = pComment; - CopyString(a_pComment); + (void)CopyString(a_pComment); } Delete(a_pSection, a_pKey); iKey = keyval.end(); @@ -2488,6 +2488,9 @@ bNeedNewLine = true; } + + // Append new empty line + a_oOutput.Write(SI_NEWLINE_A); return SI_OK; } -- Gitblit v1.9.1