mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix occasional garbled characters in output of the set builtin
darcs-hash:20061019152418-ac50b-2ef6e93820deb5e272f28f893c51dca642a6b080.gz
This commit is contained in:
parent
2d05b1c1b4
commit
ae16397e1c
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ static void print_variables(int include_values, int esc, int scope)
|
|||
for( i = 0; i < al_get_count(&names); i++ )
|
||||
{
|
||||
wchar_t *key = (wchar_t *)al_get( &names, i );
|
||||
wchar_t *e_key = esc ? escape(key, 1) : wcsdup(key);
|
||||
wchar_t *e_key = esc ? escape(key, 0) : wcsdup(key);
|
||||
|
||||
sb_append(sb_out, e_key);
|
||||
|
||||
|
|
Loading…
Reference in a new issue