summaryrefslogtreecommitdiff
path: root/src/fe-common/core/window-commands.c
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-01-08 15:42:59 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2016-01-08 15:42:59 +0100
commitad842ea8a60f107d68df4298a8914e66edf95c3b (patch)
treebb626f02e75538edea4c9c698b0c322aca26e2c7 /src/fe-common/core/window-commands.c
parent4659cea65a663b11f3cc16e1d03c9955a4135238 (diff)
downloadirssi-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.c4
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;