X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=src%2Fviewer.c;h=d23ed73cd099162965a021502e230f4627c700a4;hb=354cf2e07ccd0d7900f96bffc279093997cbe203;hp=20d496dcc7aa2c81f227fbd212c0333032531fc3;hpb=b56994fd240a45f3b4060883f6a17c659c495e23;p=smdp.git diff --git a/src/viewer.c b/src/viewer.c index 20d496d..d23ed73 100644 --- a/src/viewer.c +++ b/src/viewer.c @@ -2,7 +2,7 @@ * Functions necessary to display a deck of slides in different color modes * using ncurses. Only white, red, and blue are supported, as they can be * faded in 256 color mode. - * Copyright (C) 2016 Michael Goehler + * Copyright (C) 2018 Michael Goehler * * This file is part of mdp. * @@ -982,7 +982,7 @@ int int_length (int val) { int get_slide_number(char init) { int retval = init - '0'; - char c; + int c; // block for tenths of a second when using getch, ERR if no input halfdelay(GOTO_SLIDE_DELAY); while((c = getch()) != ERR) {