aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/expand.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-07-26 00:58:32 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-07-26 00:58:32 -0700
commitc9349f2ef6b52d34049b7309c261b55b72a2a0a6 (patch)
tree398c7950161308138ef137db5885f5be7153ee71 /src/expand.cpp
parent4ebaa7b6bd595f37f66f8d77ee836c1e5a4ef647 (diff)
Continue to refine tokenizer interface
Migrate some functions into tokenizer instance methods
Diffstat (limited to 'src/expand.cpp')
-rw-r--r--src/expand.cpp2
1 files changed, 1 insertions, 1 deletions
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")))