diff options
Diffstat (limited to 'src/blocks.c')
-rw-r--r-- | src/blocks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blocks.c b/src/blocks.c index 4a6b7ef..de47dfb 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -571,15 +571,15 @@ static void S_parser_feed(cmark_parser *parser, const unsigned char *buffer, buffer += chunk_len; if (buffer < end) { if (*buffer == '\0') { - // skip over NULL - buffer++; + // skip over NULL + buffer++; } else { // skip over line ending characters if (*buffer == '\r') { buffer++; if (buffer == end) parser->last_buffer_ended_with_cr = true; - } + } if (*buffer == '\n') buffer++; } |