diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-07-26 00:58:32 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-07-26 00:58:32 -0700 |
commit | c9349f2ef6b52d34049b7309c261b55b72a2a0a6 (patch) | |
tree | 398c7950161308138ef137db5885f5be7153ee71 /src/expand.cpp | |
parent | 4ebaa7b6bd595f37f66f8d77ee836c1e5a4ef647 (diff) |
Continue to refine tokenizer interface
Migrate some functions into tokenizer instance methods
Diffstat (limited to 'src/expand.cpp')
-rw-r--r-- | src/expand.cpp | 2 |
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"))) |