diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-01-04 17:14:15 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-01-04 17:18:49 +0100 |
commit | d661a515f0d4519b7da9d3cd4332313bdb9fd9b9 (patch) | |
tree | 974dcd9ac07bd898e957513830e8262da124dbe7 /include/helper.h | |
parent | 017f9e47ed4a330a7e758718706c8ec2edcb216a (diff) |
Make levenshtein sort utf8 aware and obey case sensitive setting.
- Add tests.
- Use Glibs unichar for comparison.
Diffstat (limited to 'include/helper.h')
-rw-r--r-- | include/helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/helper.h b/include/helper.h index fa4c338f..f21fd51a 100644 --- a/include/helper.h +++ b/include/helper.h @@ -154,4 +154,5 @@ void cmd_set_arguments ( int argc, char **argv ); * @returns path */ char *rofi_expand_path ( const char *input ); +unsigned int levenshtein ( const char *needle, const char *haystack ); #endif // ROFI_HELPER_H |