summaryrefslogtreecommitdiffstats
path: root/cmd-source-file.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-05-24 13:02:29 +0100
committerThomas Adam <thomas@xteddy.org>2018-05-24 13:02:29 +0100
commit7448b38327f856dae6ce915eae63f7f6c3f036e0 (patch)
treee38b2964d8261f2103f633b26995d5d2d38c7b94 /cmd-source-file.c
parent85d5a377c53d711ff923f1b5f9184f2f96c29c41 (diff)
parentb9a6162d2f9bea63c3ad421e9c3969eea2852b00 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-source-file.c')
-rw-r--r--cmd-source-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-source-file.c b/cmd-source-file.c
index e96af5f1..aeb11c42 100644
--- a/cmd-source-file.c
+++ b/cmd-source-file.c
@@ -60,7 +60,7 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item *item)
if (*path == '/')
pattern = xstrdup(path);
else {
- utf8_stravis(&tmp, server_client_get_cwd(c), VIS_GLOB);
+ utf8_stravis(&tmp, server_client_get_cwd(c, NULL), VIS_GLOB);
xasprintf(&pattern, "%s/%s", tmp, path);
free(tmp);
}