mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Fix prompt under Windows.
The fix is obviously a hack caused by that NOT_A_WCHAR doesn't fit in wchar_t. Better fix would be nice.
This commit is contained in:
@@ -1619,8 +1619,9 @@ static bool unescape_string_internal(const wchar_t * const input, const size_t i
|
||||
}
|
||||
}
|
||||
|
||||
wchar_t not_a_wchar = NOT_A_WCHAR;
|
||||
/* Now maybe append the char */
|
||||
if (to_append != NOT_A_WCHAR)
|
||||
if (to_append != not_a_wchar)
|
||||
{
|
||||
result.push_back(to_append);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user