mirror of https://github.com/davatorium/rofi.git
Update header.
This commit is contained in:
parent
101998e5b1
commit
4dd0a85fc4
|
@ -131,6 +131,21 @@ void create_pid_file ( const char *pidfile );
|
|||
* This functions exits the program with 1 when it finds an invalid configuration.
|
||||
*/
|
||||
void config_sanity_check ( void );
|
||||
|
||||
/**
|
||||
* @param arg string to parse.
|
||||
*
|
||||
* Parses a string into an character.
|
||||
*
|
||||
* @returns character.
|
||||
*/
|
||||
char helper_parse_char ( const char *arg );
|
||||
|
||||
/**
|
||||
* @param argc number of arguments.
|
||||
* @param argv Array of arguments.
|
||||
*
|
||||
* Set the application arguments.
|
||||
*/
|
||||
void cmd_set_arguments ( int argc, char **argv );
|
||||
#endif // __HELPER_H__
|
||||
|
|
|
@ -788,7 +788,7 @@ static void menu_refilter ( MenuState *state, char **lines, menu_match_cb mmc, v
|
|||
}
|
||||
state->selected = MIN ( state->selected, state->filtered_lines - 1 );
|
||||
|
||||
if ( config.auto_select == TRUE && state->filtered_lines == 1 && state->num_lines > 1) {
|
||||
if ( config.auto_select == TRUE && state->filtered_lines == 1 && state->num_lines > 1 ) {
|
||||
*( state->selected_line ) = state->line_map[state->selected];
|
||||
state->retv = MENU_OK;
|
||||
state->quit = TRUE;
|
||||
|
|
Loading…
Reference in New Issue