Commit 6344b48c authored by mercury233's avatar mercury233 Committed by DailyShana

update unicode char (#1964)

parent da7ccaf3
...@@ -303,38 +303,22 @@ const wchar_t* DataManager::FormatSetName(unsigned long long setcode) { ...@@ -303,38 +303,22 @@ const wchar_t* DataManager::FormatSetName(unsigned long long setcode) {
} }
const wchar_t* DataManager::FormatLinkMarker(int link_marker) { const wchar_t* DataManager::FormatLinkMarker(int link_marker) {
wchar_t* p = lmBuffer; wchar_t* p = lmBuffer;
if(link_marker & LINK_MARKER_TOP_LEFT) { if(link_marker & LINK_MARKER_TOP_LEFT)
BufferIO::CopyWStrRef(L"[ ]", p, 4); BufferIO::CopyWStrRef(L"[\u2196]", p, 4);
*(p - 2) = 0x2196; if(link_marker & LINK_MARKER_TOP)
} BufferIO::CopyWStrRef(L"[\u2191]", p, 4);
if(link_marker & LINK_MARKER_TOP) { if(link_marker & LINK_MARKER_TOP_RIGHT)
BufferIO::CopyWStrRef(L"[ ]", p, 4); BufferIO::CopyWStrRef(L"[\u2197]", p, 4);
*(p - 2) = 0x2191; if(link_marker & LINK_MARKER_LEFT)
} BufferIO::CopyWStrRef(L"[\u2190]", p, 4);
if(link_marker & LINK_MARKER_TOP_RIGHT) { if(link_marker & LINK_MARKER_RIGHT)
BufferIO::CopyWStrRef(L"[ ]", p, 4); BufferIO::CopyWStrRef(L"[\u2192]", p, 4);
*(p - 2) = 0x2197; if(link_marker & LINK_MARKER_BOTTOM_LEFT)
} BufferIO::CopyWStrRef(L"[\u2199]", p, 4);
if(link_marker & LINK_MARKER_LEFT) { if(link_marker & LINK_MARKER_BOTTOM)
BufferIO::CopyWStrRef(L"[ ]", p, 4); BufferIO::CopyWStrRef(L"[\u2193]", p, 4);
*(p - 2) = 0x2190; if(link_marker & LINK_MARKER_BOTTOM_RIGHT)
} BufferIO::CopyWStrRef(L"[\u2198]", p, 4);
if(link_marker & LINK_MARKER_RIGHT) {
BufferIO::CopyWStrRef(L"[ ]", p, 4);
*(p - 2) = 0x2192;
}
if(link_marker & LINK_MARKER_BOTTOM_LEFT) {
BufferIO::CopyWStrRef(L"[ ]", p, 4);
*(p - 2) = 0x2199;
}
if(link_marker & LINK_MARKER_BOTTOM) {
BufferIO::CopyWStrRef(L"[ ]", p, 4);
*(p - 2) = 0x2193;
}
if(link_marker & LINK_MARKER_BOTTOM_RIGHT) {
BufferIO::CopyWStrRef(L"[ ]", p, 4);
*(p - 2) = 0x2198;
}
return lmBuffer; return lmBuffer;
} }
int DataManager::CardReader(int code, void* pData) { int DataManager::CardReader(int code, void* pData) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment