Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct "Mirco" to "Micro" #513

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/qrcode/QRFormatInformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ FormatInformation FormatInformation::DecodeQR(uint32_t formatInfoBits1, uint32_t
*/
FormatInformation FormatInformation::DecodeMQR(uint32_t formatInfoBits)
{
// We don't use the additional masking (with 0x4445) to work around potentially non complying MircoQRCode encoders
// We don't use the additional masking (with 0x4445) to work around potentially non complying MicroQRCode encoders
auto fi = FindBestFormatInfo(0, FORMAT_INFO_DECODE_LOOKUP_MICRO, {formatInfoBits, MirrorBits(formatInfoBits)});

constexpr uint8_t BITS_TO_VERSION[] = {1, 2, 2, 3, 3, 4, 4, 4};
Expand Down
2 changes: 1 addition & 1 deletion wrappers/python/zxing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ PYBIND11_MODULE(zxingcpp, m)
.value("MaxiCode", BarcodeFormat::MaxiCode)
.value("PDF417", BarcodeFormat::PDF417)
.value("QRCode", BarcodeFormat::QRCode)
.value("MircoQRCode", BarcodeFormat::MicroQRCode)
.value("MicroQRCode", BarcodeFormat::MicroQRCode)
.value("DataBar", BarcodeFormat::DataBar)
.value("DataBarExpanded", BarcodeFormat::DataBarExpanded)
.value("UPCA", BarcodeFormat::UPCA)
Expand Down