commit 2ac834c6cc52fe90fb419a0a657e4652254ab929
parent ab67d247e12bf81bc683670052357f40a4d6971e
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 16 Nov 2019 11:31:44 +0100
log levels
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
@@ -203,7 +203,7 @@ show_qrcode (const char *uri)
size_t xOff;
size_t yOff;
- if (0 < qrDisplay.devicefd)
+ if (0 > qrDisplay.devicefd)
return; /* no display, no dice */
qri = QRinput_new2 (0, QR_ECLEVEL_L);
if (NULL == qri)