diff options
-rw-r--r-- | src/usr/pxemenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/pxemenu.c b/src/usr/pxemenu.c index 5e497f9..34fdf37 100644 --- a/src/usr/pxemenu.c +++ b/src/usr/pxemenu.c @@ -204,7 +204,7 @@ static void pxe_menu_draw_item ( struct pxe_menu *menu, buf[ sizeof ( buf ) - 1 ] = '\0'; /* Draw row */ - row = ( LINES - menu->num_items + index ); + row = ( LINES - menu->num_items + index - 1 ); color_set ( ( selected ? CPAIR_PXE : CPAIR_DEFAULT ), NULL ); mvprintw ( row, 0, "%s", buf ); move ( row, 1 ); |