mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
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:
parent
a6a1879481
commit
18bb5f1f7e
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue