diff options
author | Fredrik Gustafsson <[email protected]> | 2013-03-12 10:11:25 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-03-12 10:11:25 +0100 |
commit | 93502cddd5afe6bcf73dfa26345655b31b4b3c3d (patch) | |
tree | b441a59502db940588d17bba576b5a0baa8c4fad | |
parent | 05f56d58f7866f14f83fdf34bb6accea246911c8 (diff) | |
parent | 9bcc7fe4e2983827bfb1fcb09963a49dfaf9a2d6 (diff) | |
download | otp-93502cddd5afe6bcf73dfa26345655b31b4b3c3d.tar.gz otp-93502cddd5afe6bcf73dfa26345655b31b4b3c3d.tar.bz2 otp-93502cddd5afe6bcf73dfa26345655b31b4b3c3d.zip |
Merge branch 'maint'
-rw-r--r-- | lib/observer/src/observer_tv_table.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/observer/src/observer_tv_table.erl b/lib/observer/src/observer_tv_table.erl index 5d1ab2e946..83619414ad 100644 --- a/lib/observer/src/observer_tv_table.erl +++ b/lib/observer/src/observer_tv_table.erl @@ -784,8 +784,10 @@ format_list(List) -> make_list([Last]) -> [format(Last), $]]; +make_list([Head|Tail]) when is_list(Tail) -> + [format(Head), $,|make_list(Tail)]; make_list([Head|Tail]) -> - [format(Head), $,|make_list(Tail)]. + [format(Head), $|, format(Tail), $]]. map_printable_list([$\n|Cs]) -> [$\\, $n|map_printable_list(Cs)]; |