commit 1beaf3d7533441bb97d653d052adc83d0a702c93 parent 6a37fd1639bcc2d0a7746df0df65eb440ef85be2 Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 16 Nov 2019 10:46:24 +0100 see stuff Diffstat:
| M | src/main.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c @@ -258,7 +258,8 @@ 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; + qrDisplay.memory[(y + yOff) + qrDisplay.var_info.yres * (x + xOff)] = + 0xFFFF * x / size; } #if 0 for (unsigned int x = 0; x < size; x++)