diff options
| author | 2023-10-10 11:50:55 -0400 | |
|---|---|---|
| committer | 2023-10-10 11:50:55 -0400 | |
| commit | 6ba81213e39875a6a50890de3b212dae8cff897b (patch) | |
| tree | ec262982ee4a4ccf396be4fdb76cda255912a9af /src | |
| parent | dab8b0f3d8f0df6641af11d20c53a3bd5593180a (diff) | |
| download | libalabaster-6ba81213e39875a6a50890de3b212dae8cff897b.tar.gz libalabaster-6ba81213e39875a6a50890de3b212dae8cff897b.tar.bz2 libalabaster-6ba81213e39875a6a50890de3b212dae8cff897b.zip | |
Change comment formatting
Signed-off-by: Andrew Opalach <andrew@akon.city>
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; |