diff options
Diffstat (limited to 'src/fe-common/core/completion.c')
-rw-r--r-- | src/fe-common/core/completion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c index 7a9c9ad3..be8b76c5 100644 --- a/src/fe-common/core/completion.c +++ b/src/fe-common/core/completion.c @@ -38,7 +38,7 @@ static int last_want_space, last_line_pos; ((c) == ',') #define isseparator(c) \ - (i_isspace(c) || isseparator_notspace(c)) + ((c) == ' ' || isseparator_notspace(c)) void chat_completion_init(void); void chat_completion_deinit(void); @@ -530,7 +530,7 @@ static char *line_get_command(const char *line, char **args, int aliases) } else { checkcmd = g_strndup(line, (int) (ptr-line)); - while (i_isspace(*ptr)) ptr++; + while (*ptr == ' ') ptr++; cmdargs = ptr; } |