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:
ridiculousfish 2012-06-01 14:38:41 -07:00
parent 9255f625fa
commit ae12e1b537

View File

@ -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');
}