mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Changed some checks i_isspace() -> ' ' so that TAB isn't included in checks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3130 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9ae4779c87
commit
1826812c9d
4 changed files with 11 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue