aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-09-27 12:59:55 +0200
committerHans Bolinder <[email protected]>2016-09-27 12:59:55 +0200
commit65391d1365cabaf8516ad0af3ae77b9861de0349 (patch)
treeb71f14014da3020d7905de05ae8c6c23e01dd0b0 /lib/stdlib/src
parentbe58aad8ef594f08b4cbe8da876a7977abb3ab3f (diff)
parentcf78babce57e93ad733cd51c3f4891c99aa9ee1e (diff)
downloadotp-65391d1365cabaf8516ad0af3ae77b9861de0349.tar.gz
otp-65391d1365cabaf8516ad0af3ae77b9861de0349.tar.bz2
otp-65391d1365cabaf8516ad0af3ae77b9861de0349.zip
Merge branch 'maint'
* maint: stdlib: Add a testcase for Unicode expander Support for unicode expander
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/edlin_expand.erl2
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").