diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-03-22 15:23:37 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-03-22 15:23:37 +0100 |
commit | 195c44a76ed31b6a0804d93ec8e7ac1b69f07a3d (patch) | |
tree | 1a8eb1a1a3545cd8e119ebcad407e24904b2af02 /src/fe-common/core | |
parent | f7658640fba5536e6dbfc2014b28523d8510e970 (diff) | |
parent | 132d3c49f302a87d1357ba91ba715faa6bfcea29 (diff) | |
download | irssi-195c44a76ed31b6a0804d93ec8e7ac1b69f07a3d.zip |
Merge pull request #446 from ailin-nemui/fix_445
strip less whitespace from commands
Diffstat (limited to 'src/fe-common/core')
-rw-r--r-- | src/fe-common/core/completion.c | 2 | ||||
-rw-r--r-- | src/fe-common/core/fe-settings.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c index 1e7833a4..861054b5 100644 --- a/src/fe-common/core/completion.c +++ b/src/fe-common/core/completion.c @@ -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; diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c index 3bb43bf7..b689cbf9 100644 --- a/src/fe-common/core/fe-settings.c +++ b/src/fe-common/core/fe-settings.c @@ -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; |