taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit 6a37fd1639bcc2d0a7746df0df65eb440ef85be2
parent 968539559a5895478774c049cea2f47ac5f2292c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 16 Nov 2019 10:45:58 +0100

see stuff

Diffstat:
Msrc/main.c | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c @@ -258,12 +258,18 @@ 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)] = x; + } +#if 0 + for (unsigned int x = 0; x < size; x++) + for (unsigned int y = 0; y < size; y++) + { unsigned int off = (x * qrc->width / size) + (y * qrc->width / size) * qrc->width; qrDisplay.memory[(y + yOff) + qrDisplay.var_info.yres * (x + xOff)] = (0 == (qrc->data[off] & 1)) ? 0xFFFF : 0x0000; } - +#endif QRcode_free (qrc); QRinput_free (qri); #if LEGACY