Skip to content

Commit

Permalink
Fix copy/paste wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jaime-m-p committed Aug 5, 2024
1 parent d558c73 commit 674f0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unicode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,11 +602,11 @@ codepoint_categ unicode_cpt_category(const uint32_t cp) {
}

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) {
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
Expand Down

0 comments on commit 674f0fa

Please sign in to comment.