diff options
author | Siri Hansen <[email protected]> | 2017-06-22 11:00:56 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-07-07 12:01:52 +0200 |
commit | 1d2de844e3dfeb3ced908b6d4b177ac9d15d6f4b (patch) | |
tree | 3364fa8937385889e8fa756fda78fa3cca7c98bb /lib/reltool/src/reltool_app_win.erl | |
parent | 040bdce67f88d833bfb59adae130a4ffb4c180f0 (diff) | |
download | otp-1d2de844e3dfeb3ced908b6d4b177ac9d15d6f4b.tar.gz otp-1d2de844e3dfeb3ced908b6d4b177ac9d15d6f4b.tar.bz2 otp-1d2de844e3dfeb3ced908b6d4b177ac9d15d6f4b.zip |
[reltool] Improve handling of unicode strings and atoms
Diffstat (limited to 'lib/reltool/src/reltool_app_win.erl')
-rw-r--r-- | lib/reltool/src/reltool_app_win.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/reltool/src/reltool_app_win.erl b/lib/reltool/src/reltool_app_win.erl index 468ba297bb..663144861f 100644 --- a/lib/reltool/src/reltool_app_win.erl +++ b/lib/reltool/src/reltool_app_win.erl @@ -174,7 +174,7 @@ loop(#state{xref_pid = Xref, common = C, app = App} = S) -> S#state.mod_wins)}, ?MODULE:loop(S2); Msg -> - error_logger:format("~w~w got unexpected message:\n\t~p\n", + error_logger:format("~w~w got unexpected message:\n\t~tp\n", [?MODULE, self(), Msg]), ?MODULE:loop(S) end. @@ -182,7 +182,7 @@ loop(#state{xref_pid = Xref, common = C, app = App} = S) -> exit_warning({'EXIT', _Pid, shutdown}) -> ok; exit_warning({'EXIT', _Pid, _Reason} = Msg) -> - error_logger:format("~w~w got unexpected message:\n\t~p\n", + error_logger:format("~w~w got unexpected message:\n\t~tp\n", [?MODULE, self(), Msg]). create_window(#state{app = App} = S) -> @@ -629,7 +629,7 @@ handle_event(#state{sys = Sys, app = App} = S, Wx) -> handle_mod_button(S, Items, Action); _ -> error_logger:format("~w~w got unexpected app event from " - "wx:\n\t~p\n", + "wx:\n\t~tp\n", [?MODULE, self(), Wx]), S end. @@ -676,7 +676,7 @@ move_mod(App, {_ItemNo, ModStr}, Action) -> undefined; _ -> error_logger:format("~w~w got unexpected mod " - "button event: ~w\n\t ~p\n", + "button event: ~w\n\t ~tp\n", [?MODULE, self(), ModName, Action]), M#mod.incl_cond end, |