Double Sine 6 年之前
父节点
当前提交
c36f44dd1b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/xstring.hpp

+ 1 - 1
common/xstring.hpp

@@ -102,7 +102,7 @@ namespace std {
 
         xstring(xstring_extension, const char* lpstr, DWORD CodePage = CP_ACP) {
             if (CodePage == CP_ACP || CodePage == GetACP()) {
-                assign(str);
+                assign(lpstr);
             } else {
                 std::wstring wstr;