mirror of
https://gitlab.com/qemu-project/ipxe.git
synced 2025-10-30 07:56:50 +08:00
Compare commits
1 Commits
udpdrop
...
pxemenuscr
| Author | SHA1 | Date | |
|---|---|---|---|
| 32a07ea8cb |
@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user