gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-mdb] 63/93: qr gen


From: gnunet
Subject: [taler-taler-mdb] 63/93: qr gen
Date: Mon, 18 Nov 2019 21:13:26 +0100

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository taler-mdb.

commit d6b6068f6f9d810b76944b6e5203b9752e0e6a42
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Nov 16 10:27:34 2019 +0100

    qr gen
---
 src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index bd17277..9800eb2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -253,8 +253,8 @@ show_qrcode (const char *uri)
     yOff += (qrDisplay.var_info.yres - qrDisplay.var_info.xres) / 2;
   else
     xOff += (qrDisplay.var_info.xres - qrDisplay.var_info.yres) / 2;
-  for (unsigned int x = xOff; x < size - xOff; x++)
-    for (unsigned int y = yOff; y < size - yOff; y++)
+  for (unsigned int x = xOff; x < size + xOff; x++)
+    for (unsigned int y = yOff; y < size + yOff; y++)
     {
       unsigned int off =
         ((x - xOff) * qrc->width / size) + ((y - yOff) * qrc->width / size)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]