mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Use wcscmp instead of comparing against a string literal
Should fix OpenSUSE build
This commit is contained in:
parent
9361470070
commit
4c56c89afc
1 changed files with 1 additions and 1 deletions
|
@ -1065,7 +1065,7 @@ static int report_function_metadata(const wchar_t *funcname, bool verbose, io_st
|
|||
}
|
||||
|
||||
if (metadata_as_comments) {
|
||||
if (path != L"stdin") {
|
||||
if (wcscmp(path, L"stdin")) {
|
||||
streams.out.append_format(L"# Defined in %ls @ line %d\n", path, line_number);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue