From f50d692e858d2479114a2ac3637120edf8a28d19 Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 6 May 2020 03:09:38 +0100 Subject: ~changed title for first if --- Converter/src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Converter') diff --git a/Converter/src/main.c b/Converter/src/main.c index b512929..e3603bb 100644 --- a/Converter/src/main.c +++ b/Converter/src/main.c @@ -9,7 +9,8 @@ string compile_line(string line, size_t size_of_line) string compiled_line; if (line[0] == '#') { - // title + // Compile a header + // allocate buffer with extra 9 characters for the tags compiled_line = malloc(sizeof(*compiled_line) * (size_of_line + 9)); // write h1 to start of compiled_line -- cgit v1.2.3-13-gbd6f