augh! fix hidden alignment problem

pull/396/head
nick black 5 years ago
parent e679816731
commit 43a8fcf195

@ -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);
}

Loading…
Cancel
Save