X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..6954e0f6f3cc181609ac75507a6bb4ef0a3fa62a:/src/palmos/main.cpp?ds=inline diff --git a/src/palmos/main.cpp b/src/palmos/main.cpp index d1ca479472..2c4f957771 100644 --- a/src/palmos/main.cpp +++ b/src/palmos/main.cpp @@ -48,12 +48,12 @@ int wxEntry() */ wxArrayString args; int argc = args.GetCount(); - // +1 here for the terminating NULL wxChar **argv = new wxChar *[argc + 1]; for ( int i = 0; i < argc; i++ ) { - argv[i] = wxStrdup(args[i]); + //argv[i] = wxStrdup(args[i]); + argv[i] = wxStrdup(wxConvLibc.cMB2WX(args[i])); } // argv[] must be NULL-terminated