From 43a8fcf195c18648f2f9b57e5e0ea7b2b43bca91 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 29 Feb 2020 23:16:36 -0500 Subject: [PATCH] augh! fix hidden alignment problem --- src/demo/reel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/demo/reel.c b/src/demo/reel.c index 85fda267a..e17bd0dc4 100644 --- a/src/demo/reel.c +++ b/src/demo/reel.c @@ -248,7 +248,8 @@ handle_input(struct notcurses* nc, struct ncreel* pr, int efd, if(fds[1].revents & POLLIN){ uint64_t val; if(read(efd, &val, sizeof(val)) != sizeof(val)){ - fprintf(stderr, "Error reading from eventfd %d (%s)\n", efd, strerror(errno)); }else if(key < 0){ + fprintf(stderr, "Error reading from eventfd %d (%s)\n", efd, strerror(errno)); + }else if(key < 0){ ncreel_redraw(pr); DEMO_RENDER(nc); }