diff options
author | Hans Bolinder <[email protected]> | 2017-07-06 16:20:46 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-05 11:02:27 +0200 |
commit | 5c5bd9e0fa4d01382da91ed146b651aa9b212d4a (patch) | |
tree | 2456a07b4b090b21485c3566ad9de7ff7231d904 /lib/mnesia/src/mnesia.erl | |
parent | 6086776a4b8c953702cac7bcc2763cd1ad259e88 (diff) | |
download | otp-5c5bd9e0fa4d01382da91ed146b651aa9b212d4a.tar.gz otp-5c5bd9e0fa4d01382da91ed146b651aa9b212d4a.tar.bz2 otp-5c5bd9e0fa4d01382da91ed146b651aa9b212d4a.zip |
mnesia: Improve handling of Unicode
Diffstat (limited to 'lib/mnesia/src/mnesia.erl')
-rw-r--r-- | lib/mnesia/src/mnesia.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mnesia/src/mnesia.erl b/lib/mnesia/src/mnesia.erl index 3b771e8c5b..b68b2de028 100644 --- a/lib/mnesia/src/mnesia.erl +++ b/lib/mnesia/src/mnesia.erl @@ -2283,9 +2283,9 @@ list_index_plugins([{N,M,F} | T] = Ps, Legend) -> lists:foldl(fun({N1,_,_}, Wa) -> erlang:max(Wa, length(pp_ix_name(N1))) end, 0, Ps)), - io:fwrite(Legend ++ "~-" ++ W ++ "s - ~s:~s~n", + io:fwrite(Legend ++ "~-" ++ W ++ "s - ~s:~ts~n", [pp_ix_name(N), atom_to_list(M), atom_to_list(F)]), - [io:fwrite(Indent ++ "~-" ++ W ++ "s - ~s:~s~n", + [io:fwrite(Indent ++ "~-" ++ W ++ "s - ~s:~ts~n", [pp_ix_name(N1), atom_to_list(M1), atom_to_list(F1)]) || {N1,M1,F1} <- T]. |