Deleted Added
full compact
dmenu.c (17375) dmenu.c (17404)
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last attempt in the `sysinstall' line, the next
5 * generation being slated for what's essentially a complete rewrite.
6 *
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last attempt in the `sysinstall' line, the next
5 * generation being slated for what's essentially a complete rewrite.
6 *
7 * $Id: dmenu.c,v 1.23 1996/07/11 18:37:47 jkh Exp $
7 * $Id: dmenu.c,v 1.24 1996/08/01 10:58:50 jkh Exp $
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 181 unchanged lines hidden (view full) ---

197 while (1) {
198 char buf[FILENAME_MAX];
199
200 /* Any helpful hints, put 'em up! */
201 use_helpline(menu->helpline);
202 use_helpfile(systemHelpFile(menu->helpfile, buf));
203
204 /* Pop up that dialog! */
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 181 unchanged lines hidden (view full) ---

197 while (1) {
198 char buf[FILENAME_MAX];
199
200 /* Any helpful hints, put 'em up! */
201 use_helpline(menu->helpline);
202 use_helpfile(systemHelpFile(menu->helpfile, buf));
203
204 /* Pop up that dialog! */
205 dialog_clear();
205 dialog_clear_norefresh();
206 if (menu->type & DMENU_NORMAL_TYPE)
207 rval = dialog_menu((u_char *)menu->title, (u_char *)menu->prompt, -1, -1,
208 menu_height(menu, n), -n, items, (char *)buttons, choice, scroll);
209
210 else if (menu->type & DMENU_RADIO_TYPE)
211 rval = dialog_radiolist((u_char *)menu->title, (u_char *)menu->prompt, -1, -1,
212 menu_height(menu, n), -n, items, (char *)buttons);
213

--- 16 unchanged lines hidden ---
206 if (menu->type & DMENU_NORMAL_TYPE)
207 rval = dialog_menu((u_char *)menu->title, (u_char *)menu->prompt, -1, -1,
208 menu_height(menu, n), -n, items, (char *)buttons, choice, scroll);
209
210 else if (menu->type & DMENU_RADIO_TYPE)
211 rval = dialog_radiolist((u_char *)menu->title, (u_char *)menu->prompt, -1, -1,
212 menu_height(menu, n), -n, items, (char *)buttons);
213

--- 16 unchanged lines hidden ---