diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit 93c7fdb8f9963dab8a15a20e9519f51753a4311f
parent 7126c51acf5f23b08ade2f9645fb2cdcf6a29178
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Wed, 29 Dec 2021 22:56:30 +0100

feat(unfolding): comment no more lines

Diffstat:
Msrc/utils.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/utils.c b/src/utils.c @@ -199,6 +199,7 @@ char* unfold(const char* str) { res = strtok(NULL, "\n"); if (res == NULL) { + // Stop unfolding if no more lines to unfold break; }