aboutsummaryrefslogtreecommitdiff
path: root/Converter
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-06 03:09:38 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-06 03:09:38 +0100
commitf50d692e858d2479114a2ac3637120edf8a28d19 (patch)
tree8a7207a54de1141f017210073e14da642dfd5255 /Converter
parented3a856000cd1a5d51e7046b635df41e0ead9c5a (diff)
downloadmdhtml-f50d692e858d2479114a2ac3637120edf8a28d19.tar.gz
mdhtml-f50d692e858d2479114a2ac3637120edf8a28d19.tar.bz2
mdhtml-f50d692e858d2479114a2ac3637120edf8a28d19.zip
~changed title for first if
Diffstat (limited to 'Converter')
-rw-r--r--Converter/src/main.c3
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