commit 968539559a5895478774c049cea2f47ac5f2292c parent 79ed7e22696f9fae6f8d117d924baa837b13ee25 Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 16 Nov 2019 10:43:41 +0100 swap xy Diffstat:
| M | src/main.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.c b/src/main.c @@ -244,8 +244,8 @@ show_qrcode (const char *uri) size = GNUNET_MIN (qrDisplay.var_info.xres, qrDisplay.var_info.yres); size /= 2; - unsigned int width = qrc->width + 8; // 4 pixel border - scale = size / width; + unsigned int nwidth = qrc->width + 8; // 4 pixel border + scale = size / nwidth; #if LEGACY pixels = GNUNET_malloc (size * size * n_channels); #endif