aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-06-11 12:38:41 +0200
committerHans Bolinder <[email protected]>2018-06-11 12:38:41 +0200
commitc2d0170c32402a7ddb6657be72f5bf5786fa298b (patch)
treea35b4e25c729b4c19accb1b21594dbb65f48f83b /lib/debugger
parentcf2ad431487cb533aac2854843aa61b8e1e5af62 (diff)
parent7a5ae72a5f46059d8c862a4e5964b4799d1fda4b (diff)
downloadotp-c2d0170c32402a7ddb6657be72f5bf5786fa298b.tar.gz
otp-c2d0170c32402a7ddb6657be72f5bf5786fa298b.tar.bz2
otp-c2d0170c32402a7ddb6657be72f5bf5786fa298b.zip
Merge branch 'hasse/stdlib/pP_with_no_line_breaks/OTP-15103/ERL-607'
* hasse/stdlib/pP_with_no_line_breaks/OTP-15103/ERL-607: kernel: Use ~0p debugger: Use ~0p common_test: Use ~0p stdlib: Make pP insert no line breaks with field width zero
Diffstat (limited to 'lib/debugger')
-rw-r--r--lib/debugger/src/dbg_wx_trace.erl6
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 ->