1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Default disable levenshtein

This commit is contained in:
QC 2015-09-20 10:32:49 +02:00
parent ac99011535
commit 108c16e0d4
2 changed files with 3 additions and 5 deletions

View file

@ -111,7 +111,7 @@ Settings config = {
/** Do not use history */ /** Do not use history */
.disable_history = FALSE, .disable_history = FALSE,
/** Use levenshtein sorting when matching */ /** Use levenshtein sorting when matching */
.levenshtein_sort = TRUE, .levenshtein_sort = FALSE,
/** Case sensitivity of the search */ /** Case sensitivity of the search */
.case_sensitive = FALSE, .case_sensitive = FALSE,
/** Separator to use for dmenu mode */ /** Separator to use for dmenu mode */

View file

@ -269,10 +269,8 @@ struct _Switcher
*/ */
void ( *init )( struct _Switcher *sw ); void ( *init )( struct _Switcher *sw );
char ** ( *get_data )( unsigned int *length, struct _Switcher *pd ); char ** ( *get_data )( unsigned int *length, struct _Switcher *pd );
int ( *match )( char **tokens, const char *input, int case_sensitive, int index, int ( *match )( char **tokens, const char *input, int case_sensitive, int index, struct _Switcher *data );
struct _Switcher *data ); SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line, struct _Switcher *pd );
SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line,
struct _Switcher *pd );
void ( *destroy )( struct _Switcher *pd ); void ( *destroy )( struct _Switcher *pd );
// Token match. // Token match.
menu_match_cb token_match; menu_match_cb token_match;