mirror of
https://github.com/openharmony/third_party_qrcodegen.git
synced 2026-07-20 23:56:51 -04:00
Clarified code in QrCode.drawVersion() in 4 language versions.
This commit is contained in:
+2
-1
@@ -310,7 +310,8 @@ class QrCode(object):
|
||||
# Draw two copies
|
||||
for i in range(18):
|
||||
bit = _get_bit(bits, i)
|
||||
a, b = self._size - 11 + i % 3, i // 3
|
||||
a = self._size - 11 + i % 3
|
||||
b = i // 3
|
||||
self._set_function_module(a, b, bit)
|
||||
self._set_function_module(b, a, bit)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user