소스 검색

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.
   // Find the ca-bundle.crt.
   char *p3dcert_root = getenv("P3DCERT_ROOT");
   char *p3dcert_root = getenv("P3DCERT_ROOT");
   if (p3dcert_root != NULL) {
   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.
     // Read the trusted certificates.
     cerr << "Reading " << ca_filename.mb_str() << "\n";;
     cerr << "Reading " << ca_filename.mb_str() << "\n";;