aboutsummaryrefslogtreecommitdiff
path: root/Converter/includes/test.h
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-07 01:21:10 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-07 01:21:10 +0100
commit991acdace4cce69c816b1ca661d87e3affa2258c (patch)
treee71812c082e5d98c41de17852a786c316911f97a /Converter/includes/test.h
parenteeee4a1bf55434d168b3c07eab8cf156bc54ea13 (diff)
downloadmdhtml-991acdace4cce69c816b1ca661d87e3affa2258c.tar.gz
mdhtml-991acdace4cce69c816b1ca661d87e3affa2258c.tar.bz2
mdhtml-991acdace4cce69c816b1ca661d87e3affa2258c.zip
~correcting my intuition about c-strings
On converting, I would sometimes get the other tag missing. This was both on the repl and the tests, and was quite annoying. Each c-string should end in a null terminator, which I forgot about. So this commit fixes that by setting the last character pointer on each branch to the null terminator.
Diffstat (limited to 'Converter/includes/test.h')
0 files changed, 0 insertions, 0 deletions