diary

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

commit 07d5252f543e8518d3863b3dccd3a5415cbd1032
parent 0016482bfb150a189823da7fc1e0e4bde7d8326c
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sun, 19 Jun 2022 23:35:40 +0200

fix missing format string

Diffstat:
Msrc/diary.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/diary.c b/src/diary.c @@ -173,7 +173,7 @@ void display_entry(const char* dir, size_t dir_size, const struct tm* date, WIND if (CONFIG.no_pty) { while (fgets(line, sizeof line, stdin)) { // print formatted entry from 0 to screen - wprintw(win, line); + wprintw(win, "%s", line); } wrefresh(win); exit(0);