/[gentoo-alt]/trunk/prefix-overlay/dev-util/dialog/files/dialog-1.0.20051107-mouseselect.patch
Gentoo

Contents of /trunk/prefix-overlay/dev-util/dialog/files/dialog-1.0.20051107-mouseselect.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 893 - (show annotations) (download)
Sun Nov 27 12:52:02 2005 UTC (8 years, 9 months ago) by grobian
File size: 664 byte(s)
Added dialog (made small changes to get it working in the prefix) and
the required eclasses.


1 --- dialog-1.0-20051107/checklist.c
2 +++ dialog-1.0-20051107/checklist.c
3 @@ -258,7 +258,7 @@
4 if (fkey && (key >= (M_EVENT + KEY_MAX))) {
5 getyx(dialog, cur_y, cur_x);
6 i = (key - (M_EVENT + KEY_MAX));
7 - if (scrollamt + i < max_choice) {
8 + if (i < max_choice) {
9 /* De-highlight current item */
10 print_item(list,
11 ItemData(scrollamt + choice),
12 --- dialog-1.0-20051107/menubox.c
13 +++ dialog-1.0-20051107/menubox.c
14 @@ -422,7 +422,7 @@
15 if (key >= (M_EVENT + KEY_MAX)) {
16 key -= (M_EVENT + KEY_MAX);
17 i = RowToItem(key);
18 - if (scrollamt + i < max_choice) {
19 + if (i < max_choice) {
20 found = TRUE;
21 } else {
22 beep();

  ViewVC Help
Powered by ViewVC 1.1.20