From bcf8dbd1059a51efe85fc9350b0ed27f84341703 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 26 十二月 2024 10:14:36 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/QuickCode_Tree.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jrj/project/business/BasicCode/QuickCode_Tree.cpp b/jrj/project/business/BasicCode/QuickCode_Tree.cpp index 334fe69..c893a99 100644 --- a/jrj/project/business/BasicCode/QuickCode_Tree.cpp +++ b/jrj/project/business/BasicCode/QuickCode_Tree.cpp @@ -75,7 +75,7 @@ return -1; } //trace(x.xml()); - if (x.xml() == L"") + if ((xstring)x.xml() == L"") { xml xx; xx.loadXML(L"<root/>"); @@ -556,10 +556,10 @@ { p += L"&"; int i = 1; - while (p.find(L"=L", 0) > 0) + while (p.find(L"=", 0) > 0) { - xstring name = p.mid(0, p.find(L"=L", 0)); - xstring value = p.mid(p.find(L"=L", 0) + 1, p.find(L"&", 0) - p.find(L"=L", 0) - 1); + xstring name = p.mid(0, p.find(L"=", 0)); + xstring value = p.mid(p.find(L"=", 0) + 1, p.find(L"&", 0) - p.find(L"=", 0) - 1); if (name == n) return L"" + value; i += 1; p = p.mid(p.find(L"&", 0) + 1, p.length()); -- Gitblit v1.9.3