Tidied bookmark autocompleter
This commit is contained in:
@@ -1680,6 +1680,7 @@ _bookmark_autocomplete(char *input, int *size)
|
||||
g_string_append(beginning, args[2]);
|
||||
autojoin = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
if (num_args > 4) {
|
||||
g_string_append(beginning, " ");
|
||||
@@ -1691,6 +1692,7 @@ _bookmark_autocomplete(char *input, int *size)
|
||||
g_string_append(beginning, args[4]);
|
||||
autojoin = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
if (num_args > 6) {
|
||||
g_string_append(beginning, " ");
|
||||
@@ -1703,8 +1705,8 @@ _bookmark_autocomplete(char *input, int *size)
|
||||
autojoin = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (num_args > 2) {
|
||||
if (autojoin) {
|
||||
found = autocomplete_param_with_func(input, size, beginning->str, prefs_autocomplete_boolean_choice);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user