From c36f44dd1bae206be23c779c12a56bec06042819 Mon Sep 17 00:00:00 2001 From: Double Sine Date: Sat, 28 Sep 2019 00:52:07 +0800 Subject: [PATCH] Fix typo --- common/xstring.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xstring.hpp b/common/xstring.hpp index 300a8e5..68a0dfb 100644 --- a/common/xstring.hpp +++ b/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;