diff options
author | Andrey Teplyashin <[email protected]> | 2016-08-30 13:35:04 +0700 |
---|---|---|
committer | Andrey Teplyashin <[email protected]> | 2016-08-30 13:35:04 +0700 |
commit | 67240584fd4594faafa9125036a13b52361f496f (patch) | |
tree | aedf23f18f9e01329017f824eea147ca929e0275 /lib/stdlib/src/edlin_expand.erl | |
parent | f3e018dc3bb3c74b88c7454f6a1888938215f912 (diff) | |
download | otp-67240584fd4594faafa9125036a13b52361f496f.tar.gz otp-67240584fd4594faafa9125036a13b52361f496f.tar.bz2 otp-67240584fd4594faafa9125036a13b52361f496f.zip |
Support for unicode expander
Diffstat (limited to 'lib/stdlib/src/edlin_expand.erl')
-rw-r--r-- | lib/stdlib/src/edlin_expand.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/edlin_expand.erl b/lib/stdlib/src/edlin_expand.erl index ec64470461..5f821caef0 100644 --- a/lib/stdlib/src/edlin_expand.erl +++ b/lib/stdlib/src/edlin_expand.erl @@ -118,7 +118,7 @@ format_col([A|T], Width, Len, Acc0) -> {H1, _} -> H1; H2 -> H2 end, - Acc = [io_lib:format("~-*s", [Width,H]) | Acc0], + Acc = [io_lib:format("~-*ts", [Width,H]) | Acc0], format_col(T, Width, Len+Width, Acc); format_col([], _, _, Acc) -> lists:reverse(Acc, "\n"). |