mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 01:36:39 +08: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
|
@ -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 New Issue
Block a user