From df90cb48b6d2fefcdac59f667a34edaed5dcf348 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 9 May 2020 03:01:37 -0400 Subject: [PATCH] qrcode demo: compile with USE_QRCODEGEN=off --- src/demo/qrcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/qrcode.c b/src/demo/qrcode.c index 7812f6cbf..2f7d32d4d 100644 --- a/src/demo/qrcode.c +++ b/src/demo/qrcode.c @@ -33,7 +33,7 @@ int qrcode_demo(struct notcurses* nc){ DEMO_RENDER(nc); } #endif - ncplane_erase(n); + ncplane_erase(notcurses_stdplane(nc)); DEMO_RENDER(nc); return 0; }