Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31591
b: refs/heads/master
c: 66392c4
h: refs/heads/master
i:
  31589: b145c30
  31587: e143fd0
  31583: ac4661e
v: v3
  • Loading branch information
Samuel Thibault authored and Sam Ravnborg committed Jul 1, 2006
1 parent 3833d17 commit 5ceb996
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e8d780d745c1619aba81fe7166c5a4b5cad2b84
refs/heads/master: 66392c4f2246641c13b5dc60d15b09a71e09276f
7 changes: 5 additions & 2 deletions trunk/scripts/kconfig/lxdialog/checklist.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,12 @@ int dialog_checklist(const char *title, const char *prompt, int height,

/* Print the list */
for (i = 0; i < max_choice; i++) {
print_item(list, items[(scroll + i) * 3 + 1],
status[i + scroll], i, i == choice);
if (i != choice)
print_item(list, items[(scroll + i) * 3 + 1],
status[i + scroll], i, 0);
}
print_item(list, items[(scroll + choice) * 3 + 1],
status[choice + scroll], choice, 1);

print_arrows(dialog, choice, item_no, scroll,
box_y, box_x + check_x + 5, list_height);
Expand Down

0 comments on commit 5ceb996

Please sign in to comment.