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