aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-09-27 12:58:07 +0200
committerHans Bolinder <[email protected]>2016-09-27 12:58:07 +0200
commitcf78babce57e93ad733cd51c3f4891c99aa9ee1e (patch)
treed7a185e768a73fe85b156ec9d5f8d876991078ed /lib/stdlib/src
parentcf7220cd933a7b7efbb79c2b8458b21ff047d863 (diff)
parent8d0490a14b3cb647afe0ac3d678fcbdc19efa851 (diff)
downloadotp-cf78babce57e93ad733cd51c3f4891c99aa9ee1e.tar.gz
otp-cf78babce57e93ad733cd51c3f4891c99aa9ee1e.tar.bz2
otp-cf78babce57e93ad733cd51c3f4891c99aa9ee1e.zip
Merge branch 'andrey/stdlib/fix_edlin_expand/ERL-1152' into maint
* andrey/stdlib/fix_edlin_expand/ERL-1152: 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").