diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-01-08 15:42:59 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-01-08 15:42:59 +0100 |
commit | ad842ea8a60f107d68df4298a8914e66edf95c3b (patch) | |
tree | bb626f02e75538edea4c9c698b0c322aca26e2c7 /src/fe-common/core/window-commands.c | |
parent | 4659cea65a663b11f3cc16e1d03c9955a4135238 (diff) | |
download | irssi-ad842ea8a60f107d68df4298a8914e66edf95c3b.zip |
reorder history add and fixes
Diffstat (limited to 'src/fe-common/core/window-commands.c')
-rw-r--r-- | src/fe-common/core/window-commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/window-commands.c b/src/fe-common/core/window-commands.c index e5005144..9e4aab3a 100644 --- a/src/fe-common/core/window-commands.c +++ b/src/fe-common/core/window-commands.c @@ -620,10 +620,10 @@ static void cmd_window_name(const char *data) void cmd_window_history(const char *data) { GHashTable *optlist; - char *name; + char *name; void *free_arg; - if (!cmd_get_params(data, &free_arg, 1 | PARAM_FLAG_OPTIONS, + if (!cmd_get_params(data, &free_arg, 1 | PARAM_FLAG_OPTIONS | PARAM_FLAG_STRIP_TRAILING_WS, "window history", &optlist, &name)) return; |