key should be an int not a char.

This commit is contained in:
Nicholas Marriott 2010-01-11 23:46:22 +00:00
parent 3211bc5f23
commit 8f301ed62d

View File

@ -312,8 +312,7 @@ window_choose_write_line(
struct options *oo = &wp->window->options; struct options *oo = &wp->window->options;
struct screen *s = &data->screen; struct screen *s = &data->screen;
struct grid_cell gc; struct grid_cell gc;
int utf8flag; int utf8flag, key;
char key;
if (data->callbackfn == NULL) if (data->callbackfn == NULL)
fatalx("called before callback assigned"); fatalx("called before callback assigned");