mirror of
https://github.com/openharmony/third_party_qrcodegen.git
synced 2026-07-20 23:56:51 -04:00
Slightly tweaked demo programs for clarity.
This commit is contained in:
@@ -187,7 +187,7 @@ static void doMaskDemo() {
|
||||
|
||||
/*---- Utilities ----*/
|
||||
|
||||
// Prints the given QR Code to the console.
|
||||
// Prints the given QrCode object to the console.
|
||||
static void printQr(const QrCode &qr) {
|
||||
int border = 4;
|
||||
for (int y = -border; y < qr.getSize() + border; y++) {
|
||||
|
||||
Reference in New Issue
Block a user