diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-06-01 14:38:41 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-06-01 14:38:41 -0700 |
commit | ae12e1b5379d8cee2dd87891670536d01dbce45e (patch) | |
tree | e9e4608e49f8a715667e6354f5dd61d35b496c66 /fish_indent.cpp | |
parent | 9255f625fa98812766789880045ac224d4e2b1e0 (diff) |
insert_tabs called wcstring::append with arguments in the wrong order
Diffstat (limited to 'fish_indent.cpp')
-rw-r--r-- | fish_indent.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fish_indent.cpp b/fish_indent.cpp index 0ccaef44..22a345b7 100644 --- a/fish_indent.cpp +++ b/fish_indent.cpp @@ -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'); } |