merge/upstream-full #105
@@ -1545,6 +1545,10 @@ cmd_ac_remove_form_fields(DataForm* form)
|
|||||||
char*
|
char*
|
||||||
cmd_ac_complete(ProfWin* window, const char* const input, gboolean previous)
|
cmd_ac_complete(ProfWin* window, const char* const input, gboolean previous)
|
||||||
{
|
{
|
||||||
|
if (!input) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
char* found = NULL;
|
char* found = NULL;
|
||||||
// autocomplete command
|
// autocomplete command
|
||||||
if ((strncmp(input, "/", 1) == 0) && (!strchr(input, ' '))) {
|
if ((strncmp(input, "/", 1) == 0) && (!strchr(input, ' '))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user