1 --- mixedlist.c_old 2021-01-03 16:01:52.851092000 +0300 2 +++ mixedlist.c 2021-01-03 16:06:04.266150000 +0300 3 @@ -652,12 +652,12 @@ 4 break; 5 case DLGK_ITEM_PREV: 6 i = choice - 1; 7 + if (choice == 0 && scrollamt == 0) 8 + continue; 9 if (items[scrollamt + i].type == ITEM_SEPARATOR && (scrollamt + i) == 0) 10 i++; 11 else if (items[scrollamt + i].type == ITEM_SEPARATOR) 12 i--; 13 - if (choice == 0 && scrollamt == 0) 14 - continue; 15 break; 16 case DLGK_ITEM_NEXT: 17 i = choice + 1; 18