summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/str.c b/src/str.c
index 2bb7fa9..e8e417d 100644
--- a/src/str.c
+++ b/src/str.c
@@ -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;