Commit 3d75697d authored by mercury233's avatar mercury233

disable part of NormalizeChar

parent 97a3b04c
...@@ -987,10 +987,12 @@ void DeckBuilder::SortList() { ...@@ -987,10 +987,12 @@ void DeckBuilder::SortList() {
} }
} }
static inline wchar_t NormalizeChar(wchar_t c) { static inline wchar_t NormalizeChar(wchar_t c) {
/*
// Convert all symbols and punctuations to space. // Convert all symbols and punctuations to space.
if (c != 0 && c < 128 && !isalnum(c)) { if (c != 0 && c < 128 && !isalnum(c)) {
return ' '; return ' ';
} }
*/
// Convert latin chararacters to uppercase to ignore case. // Convert latin chararacters to uppercase to ignore case.
if (c < 128 && isalpha(c)) { if (c < 128 && isalpha(c)) {
return toupper(c); return toupper(c);
......
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