aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_gui_wx.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-07-03 09:06:56 +0200
committerSiri Hansen <[email protected]>2017-09-05 11:02:26 +0200
commit1e0a02473337ccfeebeab6b0691072197f571ed6 (patch)
treeaa374d5bf9b713b4dccdaf36779a2cfe04bc3d69 /lib/dialyzer/src/dialyzer_gui_wx.erl
parentd6bcae3e68546428cedf244c202eb2802d4fe5ee (diff)
downloadotp-1e0a02473337ccfeebeab6b0691072197f571ed6.tar.gz
otp-1e0a02473337ccfeebeab6b0691072197f571ed6.tar.bz2
otp-1e0a02473337ccfeebeab6b0691072197f571ed6.zip
dialyzer: Improve handling of Unicode
Diffstat (limited to 'lib/dialyzer/src/dialyzer_gui_wx.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_gui_wx.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer_gui_wx.erl b/lib/dialyzer/src/dialyzer_gui_wx.erl
index 538327d4d1..b4b1872c12 100644
--- a/lib/dialyzer/src/dialyzer_gui_wx.erl
+++ b/lib/dialyzer/src/dialyzer_gui_wx.erl
@@ -1093,7 +1093,7 @@ macro_loop(Options, Win, Box, MacroText, TermText, Frame) ->
Fun =
fun(X) ->
Val = wxControlWithItems:getString(Box,X),
- [MacroName|_] = re:split(Val, " ", [{return, list}]),
+ [MacroName|_] = re:split(Val, " ", [{return, list}, unicode]),
list_to_atom(MacroName)
end,
Delete = [Fun(X) || X <- List],