diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/str.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,7 +67,7 @@ bool al_str_get_line(str *buffer, char sep, str *line) if (line->data == NULL) { *line = *buffer; } else if ((bytes = (u32)((line->data += line->len + 1) - buffer->data)) >= buffer->len) { - // Move to the start of the assumed next line. If `bytes >= buffer->len`, + // Move to the start of the assumed next line. If bytes >= buffer->len, // there is no next line. return false; } @@ -77,7 +77,7 @@ bool al_str_get_line(str *buffer, char sep, str *line) char *nl = (char *)al_memchr(line->data, sep, bytes); - // If `!nl`, move to the end of the buffer. + // If !nl, move to the end of the buffer. line->len = !nl ? bytes : (u32)(nl - line->data); return true; |