diff --git a/config/config.def.c b/config/config.def.c index c9b2ec1c..86d0354a 100644 --- a/config/config.def.c +++ b/config/config.def.c @@ -111,7 +111,7 @@ Settings config = { /** Do not use history */ .disable_history = FALSE, /** Use levenshtein sorting when matching */ - .levenshtein_sort = TRUE, + .levenshtein_sort = FALSE, /** Case sensitivity of the search */ .case_sensitive = FALSE, /** Separator to use for dmenu mode */ diff --git a/include/rofi.h b/include/rofi.h index 8bdf098e..35d56cc8 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -269,10 +269,8 @@ struct _Switcher */ void ( *init )( struct _Switcher *sw ); char ** ( *get_data )( unsigned int *length, struct _Switcher *pd ); - int ( *match )( char **tokens, const char *input, int case_sensitive, int index, - struct _Switcher *data ); - SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line, - struct _Switcher *pd ); + int ( *match )( char **tokens, const char *input, int case_sensitive, int index, struct _Switcher *data ); + SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line, struct _Switcher *pd ); void ( *destroy )( struct _Switcher *pd ); // Token match. menu_match_cb token_match;