Fix copy/paste wrong variable
This commit is contained in:
parent
d558c736fd
commit
674f0faa74
1 changed files with 2 additions and 2 deletions
|
@ -602,11 +602,11 @@ codepoint_categ unicode_cpt_category(const uint32_t cp) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto p : unicode_map_lowercase) {
|
for (auto p : unicode_map_lowercase) {
|
||||||
cpt_categs[cpt].set_flag(codepoint_categ::LOWERCASE);
|
cpt_categs[p.second].set_flag(codepoint_categ::LOWERCASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto p : unicode_map_uppercase) {
|
for (auto p : unicode_map_uppercase) {
|
||||||
cpt_categs[cpt].set_flag(codepoint_categ::UPPERCASE);
|
cpt_categs[p.second].set_flag(codepoint_categ::UPPERCASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
//for (auto &range : unicode_ranges_nfd) { // start, last, nfd
|
//for (auto &range : unicode_ranges_nfd) { // start, last, nfd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue