Changed output format of C and C++ demo programs to match design intent and other languages.
This commit is contained in:
parent
b86466ecd5
commit
8fe7878e1e
|
@ -300,4 +300,5 @@ static void printQr(const uint8_t qrcode[]) {
|
|||
}
|
||||
fputs("\n", stdout);
|
||||
}
|
||||
fputs("\n", stdout);
|
||||
}
|
||||
|
|
|
@ -64,8 +64,8 @@ static void doBasicDemo() {
|
|||
|
||||
// Make and print the QR Code symbol
|
||||
const QrCode qr = QrCode::encodeText(text, errCorLvl);
|
||||
std::cout << qr.toSvgString(4) << std::endl;
|
||||
printQr(qr);
|
||||
std::cout << qr.toSvgString(4) << std::endl;
|
||||
}
|
||||
|
||||
|
||||
|
@ -190,4 +190,5 @@ static void printQr(const QrCode &qr) {
|
|||
}
|
||||
std::cout << std::endl;
|
||||
}
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue