wxUNICODE fixes

This commit is contained in:
David Rose 2009-09-18 04:18:38 +00:00
parent 6055265590
commit 183bce718a

View File

@ -367,8 +367,8 @@ verify_cert() {
// Find the ca-bundle.crt.
char *p3dcert_root = getenv("P3DCERT_ROOT");
if (p3dcert_root != NULL) {
wxString ca_filename = p3dcert_root;
ca_filename += "/ca-bundle.crt";
wxString ca_filename(p3dcert_root, wxConvUTF8);
ca_filename += wxT("/ca-bundle.crt");
// Read the trusted certificates.
cerr << "Reading " << ca_filename.mb_str() << "\n";;