aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-02-02 15:08:01 +0100
committerDan Gudmundsson <[email protected]>2011-03-02 11:22:30 +0100
commitd0fd9b48bdfccd228fe659ed95de096c79db46eb (patch)
tree4e0b745e33a774f6bf11571eb2a81a1cbfb0fec0 /lib/wx
parente6c038125fd204d9c2f8fa3df282ec1b75bc31b1 (diff)
downloadotp-d0fd9b48bdfccd228fe659ed95de096c79db46eb.tar.gz
otp-d0fd9b48bdfccd228fe659ed95de096c79db46eb.tar.bz2
otp-d0fd9b48bdfccd228fe659ed95de096c79db46eb.zip
Fix start args
Diffstat (limited to 'lib/wx')
-rw-r--r--lib/wx/c_src/wxe_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/c_src/wxe_impl.cpp b/lib/wx/c_src/wxe_impl.cpp
index 8bccdc0a68..2a2ec1e40b 100644
--- a/lib/wx/c_src/wxe_impl.cpp
+++ b/lib/wx/c_src/wxe_impl.cpp
@@ -185,8 +185,8 @@ void *wxe_main_loop(void *vpdl)
{
int result;
int argc = 1;
- char * temp = (char *) "Erlang\0";
- char ** argv = &temp;
+ char * temp = (char *) "Erlang";
+ char * argv[] = {temp,NULL};
ErlDrvPDL pdl = (ErlDrvPDL) vpdl;
driver_pdl_inc_refc(pdl);