diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-07 01:21:10 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-07 01:21:10 +0100 |
commit | 991acdace4cce69c816b1ca661d87e3affa2258c (patch) | |
tree | e71812c082e5d98c41de17852a786c316911f97a /Converter/src/main.c | |
parent | eeee4a1bf55434d168b3c07eab8cf156bc54ea13 (diff) | |
download | mdhtml-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/src/main.c')
0 files changed, 0 insertions, 0 deletions