From c9349f2ef6b52d34049b7309c261b55b72a2a0a6 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 26 Jul 2015 00:58:32 -0700 Subject: Continue to refine tokenizer interface Migrate some functions into tokenizer instance methods --- src/expand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expand.cpp') diff --git a/src/expand.cpp b/src/expand.cpp index 1d541a24..29cc410f 100644 --- a/src/expand.cpp +++ b/src/expand.cpp @@ -535,7 +535,7 @@ bool process_iterator_t::next_process(wcstring *out_str, pid_t *out_pid) fgetws2(&full_command_line, cmdfile); /* The command line needs to be escaped */ - cmd = tok_first(full_command_line.c_str()); + cmd = tok_first(full_command_line); } #ifdef SunOS else if ((cmdfile=wfopen(path + L"/psinfo", "r"))) -- cgit v1.2.3