commit 305580fd5ae7deb1a508fed47770e78027f71444 parent 1beaf3d7533441bb97d653d052adc83d0a702c93 Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 16 Nov 2019 10:47:51 +0100 see stuff Diffstat:
| M | src/main.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c @@ -267,7 +267,7 @@ show_qrcode (const char *uri) { unsigned int off = (x * qrc->width / size) + (y * qrc->width / size) * qrc->width; - qrDisplay.memory[(y + yOff) + qrDisplay.var_info.yres * (x + xOff)] = + qrDisplay.memory[(y + yOff) + qrDisplay.var_info.xres * (x + xOff)] = (0 == (qrc->data[off] & 1)) ? 0xFFFF : 0x0000; } #endif