Added/tweaked comments and blank lines in demo programs of all language versions except JavaScript.

This commit is contained in:
Project Nayuki
2017-10-23 03:51:13 +00:00
parent 8fe7878e1e
commit 6a71e09f72
5 changed files with 26 additions and 4 deletions
+6 -1
View File
@@ -46,7 +46,6 @@ static void doMaskDemo();
static void printQr(const QrCode &qr);
// The main application program.
int main() {
doBasicDemo();
@@ -57,6 +56,9 @@ int main() {
}
/*---- Demo suite ----*/
// Creates a single QR Code, then prints it to the console.
static void doBasicDemo() {
const char *text = "Hello, world!"; // User-supplied text
@@ -181,6 +183,9 @@ static void doMaskDemo() {
}
/*---- Utilities ----*/
// Prints the given QR Code to the console.
static void printQr(const QrCode &qr) {
int border = 4;