浏览代码

wxUNICODE fixes

David Rose 16 年之前
父节点
当前提交
183bce718a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      direct/src/plugin/p3dCert.cxx

+ 2 - 2
direct/src/plugin/p3dCert.cxx

@@ -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";;