Skip to content

Commit

Permalink
Merge branch 'gfx-font-converter' into 'master'
Browse files Browse the repository at this point in the history
Gfx font converter

See merge request embedded/general-support-library!40
  • Loading branch information
gdex committed Sep 27, 2023
2 parents d666444 + b0adf68 commit 158dca0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gfx-font-converter/FontConverterConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ FontConverterConfig::FontConverterConfig(int argc, char** argv)
break;
}
}
std::transform(encoding.cbegin(), encoding.cend(), encoding.begin(), std::toupper);

for (auto& c : encoding)
{
c = static_cast<char>(std::toupper(c));
}

if (encoding == "ASCII")
{
lastChar = '~';
Expand Down

0 comments on commit 158dca0

Please sign in to comment.