|
@@ -373,18 +373,18 @@ static void print_function_line(void)
|
|
const int skip = 1;
|
|
const int skip = 1;
|
|
|
|
|
|
for (i = 0; i < function_keys_num; i++) {
|
|
for (i = 0; i < function_keys_num; i++) {
|
|
- wattrset(main_window, attributes[FUNCTION_HIGHLIGHT]);
|
|
|
|
|
|
+ (void) wattrset(main_window, attributes[FUNCTION_HIGHLIGHT]);
|
|
mvwprintw(main_window, LINES-3, offset,
|
|
mvwprintw(main_window, LINES-3, offset,
|
|
"%s",
|
|
"%s",
|
|
function_keys[i].key_str);
|
|
function_keys[i].key_str);
|
|
- wattrset(main_window, attributes[FUNCTION_TEXT]);
|
|
|
|
|
|
+ (void) wattrset(main_window, attributes[FUNCTION_TEXT]);
|
|
offset += strlen(function_keys[i].key_str);
|
|
offset += strlen(function_keys[i].key_str);
|
|
mvwprintw(main_window, LINES-3,
|
|
mvwprintw(main_window, LINES-3,
|
|
offset, "%s",
|
|
offset, "%s",
|
|
function_keys[i].func);
|
|
function_keys[i].func);
|
|
offset += strlen(function_keys[i].func) + skip;
|
|
offset += strlen(function_keys[i].func) + skip;
|
|
}
|
|
}
|
|
- wattrset(main_window, attributes[NORMAL]);
|
|
|
|
|
|
+ (void) wattrset(main_window, attributes[NORMAL]);
|
|
}
|
|
}
|
|
|
|
|
|
/* help */
|
|
/* help */
|
|
@@ -953,16 +953,16 @@ static void show_menu(const char *prompt, const char *instructions,
|
|
current_instructions = instructions;
|
|
current_instructions = instructions;
|
|
|
|
|
|
clear();
|
|
clear();
|
|
- wattrset(main_window, attributes[NORMAL]);
|
|
|
|
|
|
+ (void) wattrset(main_window, attributes[NORMAL]);
|
|
print_in_middle(stdscr, 1, 0, COLS,
|
|
print_in_middle(stdscr, 1, 0, COLS,
|
|
menu_backtitle,
|
|
menu_backtitle,
|
|
attributes[MAIN_HEADING]);
|
|
attributes[MAIN_HEADING]);
|
|
|
|
|
|
- wattrset(main_window, attributes[MAIN_MENU_BOX]);
|
|
|
|
|
|
+ (void) wattrset(main_window, attributes[MAIN_MENU_BOX]);
|
|
box(main_window, 0, 0);
|
|
box(main_window, 0, 0);
|
|
- wattrset(main_window, attributes[MAIN_MENU_HEADING]);
|
|
|
|
|
|
+ (void) wattrset(main_window, attributes[MAIN_MENU_HEADING]);
|
|
mvwprintw(main_window, 0, 3, " %s ", prompt);
|
|
mvwprintw(main_window, 0, 3, " %s ", prompt);
|
|
- wattrset(main_window, attributes[NORMAL]);
|
|
|
|
|
|
+ (void) wattrset(main_window, attributes[NORMAL]);
|
|
|
|
|
|
set_menu_items(curses_menu, curses_menu_items);
|
|
set_menu_items(curses_menu, curses_menu_items);
|
|
|
|
|