gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] 75/93: see stuff


From: gnunet
Subject: [taler-taler-mdb] 75/93: see stuff
Date: Mon, 18 Nov 2019 21:13:38 +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 f95e914ff7e03150ea7665277a0f09554dd75feb
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Nov 16 10:58:04 2019 +0100

    see stuff
---
 src/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index e3c8ded..295714e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -240,6 +240,7 @@ show_qrcode (const char *uri)
     return;
   }
 
+  // 480 x 320
   /* +8 for 4-pixels border */
   size = GNUNET_MIN (qrDisplay.var_info.xres,
                      qrDisplay.var_info.yres);
@@ -259,7 +260,7 @@ show_qrcode (const char *uri)
   for (unsigned int x = 0; x < size; x++)
     for (unsigned int y = 0; y < size; y++)
     {
-      qrDisplay.memory[(y + yOff) + qrDisplay.var_info.yres * (x + xOff)] = 0;
+      qrDisplay.memory[(y + yOff) * qrDisplay.var_info.xres + (x + xOff)] = 0;
       // 0xFFFF * x / size;
     }
 #if 0

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



reply via email to

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