Changeset 743414b
- Timestamp:
- 02/10/2012 09:39:11 AM (12 years ago)
- Branches:
- 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- b339c94
- Parents:
- d7390a5
- Location:
- menu
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
menu/conf.c
rd7390a5 r743414b 180 180 if (menu->sym->help) 181 181 help = menu->sym->help; 182 printf("\n%s\n", menu->sym->help);182 printf("\n%s\n", help); 183 183 def = NULL; 184 184 break; … … 196 196 { 197 197 struct symbol *sym = menu->sym; 198 int type;199 198 tristate oldval, newval; 200 199 const char *help; … … 204 203 if (sym->name) 205 204 printf("(%s) ", sym->name); 206 type =sym_get_type(sym);205 (void)sym_get_type(sym); 207 206 putchar('['); 208 207 oldval = sym_get_tristate_value(sym); … … 271 270 struct symbol *sym, *def_sym; 272 271 struct menu *child; 273 int type;274 272 bool is_new; 275 273 276 274 sym = menu->sym; 277 type =sym_get_type(sym);275 (void)sym_get_type(sym); 278 276 is_new = !sym_has_value(sym); 279 277 if (sym_is_changable(sym)) { -
menu/lex.zconf.c_shipped
rd7390a5 r743414b 3 3 4 4 #define YY_INT_ALIGNED short int 5 6 /* Define this so that no warnings are issued during 7 compilation of jhalfs */ 8 #define YY_NO_INPUT 1 5 9 6 10 /* A lexical scanner generated by flex */ -
menu/lxdialog/dialog.h
rd7390a5 r743414b 175 175 int width, int list_height, int item_no, 176 176 struct dialog_list_item ** items, int flag); 177 extern unsignedchar dialog_input_result[];177 extern char dialog_input_result[]; 178 178 int dialog_inputbox (const char *title, const char *prompt, int height, 179 179 int width, const char *init); -
menu/lxdialog/inputbox.c
rd7390a5 r743414b 22 22 #include "dialog.h" 23 23 24 unsignedchar dialog_input_result[MAX_LEN + 1];24 char dialog_input_result[MAX_LEN + 1]; 25 25 26 26 /* … … 49 49 int i, x, y, box_y, box_x, box_width; 50 50 int input_x = 0, scroll = 0, key = 0, button = -1; 51 unsignedchar *instr = dialog_input_result;51 char *instr = dialog_input_result; 52 52 WINDOW *dialog; 53 53 -
menu/lxdialog/textbox.c
rd7390a5 r743414b 40 40 int i, x, y, cur_x, cur_y, fpos, key = 0; 41 41 int passed_end; 42 char search_term[MAX_LEN + 1];43 42 WINDOW *dialog, *text; 44 45 search_term[0] = '\0'; /* no search term entered yet */46 43 47 44 /* Open input file for reading */ … … 460 457 print_line (WINDOW * win, int row, int width) 461 458 { 462 int y, x;463 459 char *line; 464 460 … … 469 465 waddnstr (win, line, MIN (strlen (line), width - 2)); 470 466 471 getyx (win, y, x);472 467 /* Clear 'residue' of previous line */ 473 468 #if OLD_NCURSES 474 469 { 470 int y, x; 475 471 int i; 472 getyx (win, y, x); 476 473 for (i = 0; i < width - x; i++) 477 474 waddch (win, ' ');
Note:
See TracChangeset
for help on using the changeset viewer.