aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/examples/demo
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-12-10 12:46:52 +0100
committerBjörn Gustavsson <[email protected]>2015-12-11 14:37:46 +0100
commit9e12af42b3e71df8d812eca96d5f1e0a3c65e4e9 (patch)
treef86dd11022bd1caf9284be6f7b14dccd4865c016 /lib/wx/examples/demo
parent4145a6e4a5a65b1ba070328b03b8a0c085d9feba (diff)
downloadotp-9e12af42b3e71df8d812eca96d5f1e0a3c65e4e9.tar.gz
otp-9e12af42b3e71df8d812eca96d5f1e0a3c65e4e9.tar.bz2
otp-9e12af42b3e71df8d812eca96d5f1e0a3c65e4e9.zip
wx: Replace 'random' with 'rand'
Diffstat (limited to 'lib/wx/examples/demo')
-rw-r--r--lib/wx/examples/demo/ex_canvas.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/examples/demo/ex_canvas.erl b/lib/wx/examples/demo/ex_canvas.erl
index cdc783055c..acc94743d6 100644
--- a/lib/wx/examples/demo/ex_canvas.erl
+++ b/lib/wx/examples/demo/ex_canvas.erl
@@ -219,4 +219,4 @@ redraw(DC, Bitmap) ->
wxMemoryDC:destroy(MemoryDC).
get_pos(W,H) ->
- {random:uniform(W), random:uniform(H)}.
+ {rand:uniform(W), rand:uniform(H)}.