static void cmd_ctrl_x(key_info_t key_info, keys_info_t *keys_info) { if(key_info.count == NO_COUNT_GIVEN) key_info.count = 1; curr_stats.save_msg = incdec_names(view, -key_info.count); accept_and_leave(curr_stats.save_msg); }
/* Increments/decrements first number in names of marked files of the view * [count=1] times. */ static void call_incdec(int count) { int save_msg; check_marking(view, 0, NULL); save_msg = incdec_names(view, count); accept_and_leave(save_msg); }