mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Changed output format of C and C++ demo programs to match design intent and other languages.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user