diff --git a/cpp/QrCode.cpp b/cpp/QrCode.cpp index e6a287d..e169174 100644 --- a/cpp/QrCode.cpp +++ b/cpp/QrCode.cpp @@ -325,7 +325,7 @@ void QrCode::drawAlignmentPattern(int x, int y) { void QrCode::setFunctionModule(int x, int y, bool isBlack) { size_t ux = static_cast(x); size_t uy = static_cast(y); - modules.at(uy).at(ux) = isBlack; + modules .at(uy).at(ux) = isBlack; isFunction.at(uy).at(ux) = true; } diff --git a/typescript/qrcodegen.ts b/typescript/qrcodegen.ts index 3e436b6..a7f0ab4 100644 --- a/typescript/qrcodegen.ts +++ b/typescript/qrcodegen.ts @@ -26,9 +26,9 @@ namespace qrcodegen { - type bit = number; + type bit = number; type byte = number; - type int = number; + type int = number; /*---- QR Code symbol class ----*/