mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 20:52:59 +08: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
|
@ -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 New Issue
Block a user