diff options
author | Dan Gudmundsson <[email protected]> | 2017-06-30 12:17:44 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-15 17:07:49 +0200 |
commit | d3371553edcd078b9313c3f94c230fa4f746f8f9 (patch) | |
tree | a2e7ff122cefcf42a3d4183d3401bce72de5e229 /lib | |
parent | 63112ac909a7d14ed22488f68f0622d0378f9b80 (diff) | |
download | otp-d3371553edcd078b9313c3f94c230fa4f746f8f9.tar.gz otp-d3371553edcd078b9313c3f94c230fa4f746f8f9.tar.bz2 otp-d3371553edcd078b9313c3f94c230fa4f746f8f9.zip |
debugger: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debugger/src/i.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugger/src/i.erl b/lib/debugger/src/i.erl index 2da3e77618..18e5d2c1be 100644 --- a/lib/debugger/src/i.erl +++ b/lib/debugger/src/i.erl @@ -30,7 +30,7 @@ -import(lists, [sort/1,foreach/2]). iv() -> - Vsn = string:substr(filename:basename(code:lib_dir(debugger)), 10), + Vsn = string:slice(filename:basename(code:lib_dir(debugger)), 9), list_to_atom(Vsn). %% ------------------------------------------- |