mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +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;
|
break;
|
||||||
}
|
}
|
||||||
|
b.push_back((wchar_t)c);
|
||||||
b.push_back(c);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +74,7 @@ static void read_file( FILE *f, wcstring &b )
|
||||||
*/
|
*/
|
||||||
static void insert_tabs( wcstring &out, int indent )
|
static void insert_tabs( wcstring &out, int indent )
|
||||||
{
|
{
|
||||||
out.append(L'\t', indent);
|
out.append(indent, L'\t');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue