aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/src/reltool_mod_win.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-06-28 16:48:17 +0200
committerSiri Hansen <[email protected]>2017-07-06 17:53:23 +0200
commit4f3289a5d3b3ddd08d6e8a42909634b38d7d2a5a (patch)
treed5ee2abd6a845a102e4f56d13ff024714a90cc15 /lib/reltool/src/reltool_mod_win.erl
parentabb8e79663d0527f2987d1d7e914c65117b396a9 (diff)
downloadotp-4f3289a5d3b3ddd08d6e8a42909634b38d7d2a5a.tar.gz
otp-4f3289a5d3b3ddd08d6e8a42909634b38d7d2a5a.tar.bz2
otp-4f3289a5d3b3ddd08d6e8a42909634b38d7d2a5a.zip
reltool: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/reltool/src/reltool_mod_win.erl')
-rw-r--r--lib/reltool/src/reltool_mod_win.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/reltool/src/reltool_mod_win.erl b/lib/reltool/src/reltool_mod_win.erl
index 8cd63bdda1..bda8193983 100644
--- a/lib/reltool/src/reltool_mod_win.erl
+++ b/lib/reltool/src/reltool_mod_win.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2009-2016. All Rights Reserved.
+%% Copyright Ericsson AB 2009-2017. 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.
@@ -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),