mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Clarified code in QrCode.drawVersion() in 4 language versions.
This commit is contained in:
@@ -388,7 +388,8 @@ public final class QrCode {
|
||||
// Draw two copies
|
||||
for (int i = 0; i < 18; i++) {
|
||||
boolean bit = getBit(bits, i);
|
||||
int a = size - 11 + i % 3, b = i / 3;
|
||||
int a = size - 11 + i % 3;
|
||||
int b = i / 3;
|
||||
setFunctionModule(a, b, bit);
|
||||
setFunctionModule(b, a, bit);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user