Fix uninitialized variable

This commit is contained in:
Pasi Kallinen
2021-01-22 17:58:54 +02:00
parent f4e9104957
commit 8681aec71b

View File

@@ -1112,7 +1112,7 @@ nhmenu_item *
get_menuitem_y(nhmenu *menu, WINDOW * win, int page_num, int liney)
{
nhmenu_item *menu_item_ptr;
int count, num_lines, entry_cols;
int count, num_lines, entry_cols = menu->width;
char *tmpstr;
menu_item_ptr = menu->entries;