aboutsummaryrefslogtreecommitdiffhomepage
path: root/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'kill.c')
-rw-r--r--kill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kill.c b/kill.c
index 050c909d..ff480a0a 100644
--- a/kill.c
+++ b/kill.c
@@ -29,8 +29,8 @@
#include "common.h"
#include "env.h"
#include "exec.h"
-#include "parser.h"
#include "halloc.h"
+#include "path.h"
/**
Maximum entries in killring
@@ -50,7 +50,7 @@ static wchar_t *cut_buffer=0;
static int has_xsel()
{
void *context = halloc(0, 0);
- wchar_t *path = parser_get_filename( context, L"xsel" );
+ wchar_t *path = path_get_path( context, L"xsel" );
int res = !!path;
halloc_free( context );
return res;