builtin_count: Remove superfluous L'' prefix

(not sure if this broke anything anywhere, but since we're comparing
an actual char* we should use '' without the L)
This commit is contained in:
Fabian Homborg 2021-10-25 18:40:43 +02:00
parent a6a1879481
commit 18bb5f1f7e

View file

@ -243,7 +243,7 @@ static maybe_t<int> builtin_count(parser_t &parser, io_streams_t &streams, const
return STATUS_CMD_ERROR;
}
for (int i = 0; i < n; i++) {
if (buf[i] == L'\n') {
if (buf[i] == '\n') {
argc++;
}
}