diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-06 03:09:38 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-06 03:09:38 +0100 |
commit | f50d692e858d2479114a2ac3637120edf8a28d19 (patch) | |
tree | 8a7207a54de1141f017210073e14da642dfd5255 | |
parent | ed3a856000cd1a5d51e7046b635df41e0ead9c5a (diff) | |
download | mdhtml-f50d692e858d2479114a2ac3637120edf8a28d19.tar.gz mdhtml-f50d692e858d2479114a2ac3637120edf8a28d19.tar.bz2 mdhtml-f50d692e858d2479114a2ac3637120edf8a28d19.zip |
~changed title for first if
-rw-r--r-- | Converter/src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |