summaryrefslogtreecommitdiffstats
path: root/cmd-source-file.c
diff options
context:
space:
mode:
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);
}