mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
Merge pull request #446 from ailin-nemui/fix_445
strip less whitespace from commands
This commit is contained in:
commit
195c44a76e
3 changed files with 4 additions and 4 deletions
|
|
@ -762,7 +762,7 @@ static void cmd_completion(const char *data)
|
|||
int len;
|
||||
|
||||
if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTIONS |
|
||||
PARAM_FLAG_GETREST | PARAM_FLAG_STRIP_TRAILING_WS,
|
||||
PARAM_FLAG_GETREST,
|
||||
"completion", &optlist, &key, &value))
|
||||
return;
|
||||
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ static void cmd_set(char *data)
|
|||
SETTINGS_REC *rec;
|
||||
|
||||
if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_GETREST |
|
||||
PARAM_FLAG_OPTIONS | PARAM_FLAG_STRIP_TRAILING_WS,
|
||||
PARAM_FLAG_OPTIONS,
|
||||
"set", &optlist, &key, &value))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue