mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
insert_tabs called wcstring::append with arguments in the wrong order
Should fix https://github.com/ridiculousfish/fishfish/issues/18
This commit is contained in:
parent
9255f625fa
commit
ae12e1b537
1 changed files with 2 additions and 3 deletions
|
@ -65,8 +65,7 @@ static void read_file( FILE *f, wcstring &b )
|
|||
|
||||
break;
|
||||
}
|
||||
|
||||
b.push_back(c);
|
||||
b.push_back((wchar_t)c);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -75,7 +74,7 @@ static void read_file( FILE *f, wcstring &b )
|
|||
*/
|
||||
static void insert_tabs( wcstring &out, int indent )
|
||||
{
|
||||
out.append(L'\t', indent);
|
||||
out.append(indent, L'\t');
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue