mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-03 04:23:42 -05:00
Fix tab cycle on case difference.
This commit is contained in:
parent
f7a58f6118
commit
df5e82efbb
1 changed files with 2 additions and 2 deletions
|
@ -777,8 +777,8 @@ int menu(char **lines, char **input, char *prompt, int selected, Time *time)
|
|||
break;
|
||||
}
|
||||
int length_prefix = calculate_common_prefix(filtered, max_lines);
|
||||
printf("Prefix: %s:%d\n", filtered[0], length_prefix);
|
||||
if(length_prefix && strncmp(filtered[0], text->text, length_prefix)) {
|
||||
printf("Prefix: %s:%s:%d\n", filtered[0],text->text, length_prefix);
|
||||
if(length_prefix && strncasecmp(filtered[0], text->text, length_prefix)) {
|
||||
// Do not want to modify original string, so make copy.
|
||||
// not eff..
|
||||
char * str = strndup(filtered[0], length_prefix);
|
||||
|
|
Loading…
Reference in a new issue