diff options
author | Hans Bolinder <[email protected]> | 2018-06-08 14:09:26 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-06-08 14:09:26 +0200 |
commit | fd5e2d90c63182601bd5a397f601958e449722d2 (patch) | |
tree | 49d8f8a7f1a50725d899a88e5bf155ef24547b14 | |
parent | 6bd15f9791e0c781f0a7b107315af46e8339558e (diff) | |
download | otp-fd5e2d90c63182601bd5a397f601958e449722d2.tar.gz otp-fd5e2d90c63182601bd5a397f601958e449722d2.tar.bz2 otp-fd5e2d90c63182601bd5a397f601958e449722d2.zip |
debugger: Use ~0p
-rw-r--r-- | lib/debugger/src/dbg_wx_trace.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/debugger/src/dbg_wx_trace.erl b/lib/debugger/src/dbg_wx_trace.erl index 505d53005f..25f32ca7e7 100644 --- a/lib/debugger/src/dbg_wx_trace.erl +++ b/lib/debugger/src/dbg_wx_trace.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2017. All Rights Reserved. +%% Copyright Ericsson AB 2008-2018. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -518,8 +518,8 @@ gui_cmd({user_command, Cmd}, State) -> gui_cmd({edit, {Var, Value}}, State) -> Window = dbg_wx_trace_win:get_window(State#state.win), Val = case State#state.strings of - [] -> dbg_wx_win:to_string("~999999lp",[Value]); - [str_on] -> dbg_wx_win:to_string("~999999tp",[Value]) + [] -> dbg_wx_win:to_string("~0lp",[Value]); + [str_on] -> dbg_wx_win:to_string("~0tp",[Value]) end, case dbg_wx_win:entry(Window, "Edit variable", Var, {term, Val}) of cancel -> |