diary

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

commit ba59f1037e87e8d7591e68b280c9a8df00e37a69
parent 6db6e57653f8a3dcd14a1d605b86fb3d8708ed5e
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Wed, 29 Dec 2021 22:01:30 +0100

rename variable

Diffstat:
Msrc/export.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/export.c b/src/export.c @@ -13,8 +13,8 @@ void ics_export(const char* ics_filepath, WINDOW* header, WINDOW* cal, WINDOW* a "%s\n" "END:VEVENT\n"; - size_t begins = strlen("BEGIN:VCALENDAR\n"); - char* vevents = calloc(begins + 1, sizeof(char)); + size_t begin_size = strlen("BEGIN:VCALENDAR\n"); + char* vevents = calloc(begin_size + 1, sizeof(char)); strcat(vevents, "BEGIN:VCALENDAR\n"); // prepare header for confirmation dialogue