提交字库修改
This commit is contained in:
parent
8a3ce37049
commit
44a4ac39d7
|
@ -392,35 +392,18 @@ void CDlgZk::load_from_clipboard(void)
|
||||||
|
|
||||||
tag = L"[\"";
|
tag = L"[\"";
|
||||||
bgn = wcsstr(buf, tag.c_str());
|
bgn = wcsstr(buf, tag.c_str());
|
||||||
if (!bgn)
|
if (bgn)
|
||||||
break;
|
{
|
||||||
bgn += tag.length();
|
bgn += tag.length();
|
||||||
end = wcsstr(bgn, L"\"");
|
end = wcsstr(bgn, L"\"");
|
||||||
if (!end)
|
if (end)
|
||||||
break;
|
{
|
||||||
|
tag = std::wstring(bgn, end - bgn);
|
||||||
int str = 0;
|
hz = tag;
|
||||||
|
}
|
||||||
tag = std::wstring(bgn, end - bgn);
|
}
|
||||||
//for (int i = 0; i < tag.length(); ++i)
|
if (hz.empty())
|
||||||
//{
|
hz = var;
|
||||||
// if (tag[i] == L'\\' && i + 11 < tag.length())
|
|
||||||
// {
|
|
||||||
// str = 0;
|
|
||||||
// for (int j = 0; j < 12; ++j)
|
|
||||||
// {
|
|
||||||
// if ((j % 4) == 0)
|
|
||||||
// continue;
|
|
||||||
// str *= 8;
|
|
||||||
// str += tag[i + j] - L'0';
|
|
||||||
// }
|
|
||||||
// i += 12;
|
|
||||||
// hz = local_trans::a2u((char*)&str, CP_UTF8);
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// hz.append(1, tag[i]);
|
|
||||||
//}
|
|
||||||
hz = tag;
|
|
||||||
|
|
||||||
last_var_ = var;
|
last_var_ = var;
|
||||||
last_word_ = hz;
|
last_word_ = hz;
|
||||||
|
|
Loading…
Reference in New Issue