qulogic/libgnt

Fix some timeout source removal and typing.

2019-05-19, Elliott Sales de Andrade
508138ca5113
Fix some timeout source removal and typing.

This fixes some warnings I get about removing a source with id == 0.
#include <ncurses.h>
int main()
{
int ch;
initscr();
noecho();
cbreak();
refresh();
WINDOW *win = newpad(20, 30);
box(win, 0, 0);
prefresh(win, 0, 0, 0, 0, 19, 29);
doupdate();
while ((ch = getch())) {
printw("%d ", ch);
refresh();
}
endwin();
return 0;
}