aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/src/reltool_mod_win.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-07-07 14:16:14 +0200
committerSiri Hansen <[email protected]>2017-07-07 14:16:14 +0200
commitc0afc2ec4a46f2014dfd5a3ee571f49217febb1a (patch)
treee442f228aa24aace249243a6e623605475a573b2 /lib/reltool/src/reltool_mod_win.erl
parent99e9ad0dde25789e9603cd798c07a0c3d4e65123 (diff)
parentcc4de75dcb833610e52c7422b743c43556064a0a (diff)
downloadotp-c0afc2ec4a46f2014dfd5a3ee571f49217febb1a.tar.gz
otp-c0afc2ec4a46f2014dfd5a3ee571f49217febb1a.tar.bz2
otp-c0afc2ec4a46f2014dfd5a3ee571f49217febb1a.zip
Merge branch 'maint'
Diffstat (limited to 'lib/reltool/src/reltool_mod_win.erl')
-rw-r--r--lib/reltool/src/reltool_mod_win.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/reltool/src/reltool_mod_win.erl b/lib/reltool/src/reltool_mod_win.erl
index 8cd63bdda1..2d56d74563 100644
--- a/lib/reltool/src/reltool_mod_win.erl
+++ b/lib/reltool/src/reltool_mod_win.erl
@@ -171,7 +171,7 @@ loop(#state{xref_pid = Xref, common = C, mod = Mod} = S) ->
S2 = handle_event(S, Wx),
?MODULE:loop(S2);
_ ->
- 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
@@ -487,7 +487,7 @@ handle_event(#state{xref_pid = Xref} = S, Wx) ->
S;
_ ->
error_logger:format("~w~w got unexpected mod event from "
- "wx:\n\t~p\n",
+ "wx:\n\t~tp\n",
[?MODULE, self(), Wx]),
S
end.
@@ -667,7 +667,7 @@ goto_function(S, Editor) ->
wxStyledTextCtrl:setSelection(Editor, Left2, Right2),
Text = wxStyledTextCtrl:getSelectedText(Editor),
S2 = add_pos_to_history(S, CurrentPos),
- do_goto_function(S2, string:tokens(Text, ":"));
+ do_goto_function(S2, string:lexemes(Text, ":"));
_ ->
%% No function call
wxStyledTextCtrl:hideSelection(Editor, false),