aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-20 20:39:31 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-20 20:39:31 -0700
commitb08fb866378693d2e75f17fdfe5e60401a29136a (patch)
treead1eb00129b96d284ab9ed4ca2de1cc176219777 /complete.cpp
parentb290fd33b973e573ffc7fc0c87be3ab431678b5f (diff)
Renamed env_vars to env_vars_snapshot_t
Cleanup of non-wcstring version of path_get_path
Diffstat (limited to 'complete.cpp')
-rw-r--r--complete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.cpp b/complete.cpp
index 19ea9f2f..124b36bc 100644
--- a/complete.cpp
+++ b/complete.cpp
@@ -609,7 +609,7 @@ static wcstring format_error(const wchar_t *prefix, const wcstring &str) {
Find the full path and commandname from a command string 'str'.
*/
static void parse_cmd_string(const wcstring &str, wcstring &path, wcstring &cmd) {
- if (! path_get_path_string(str, path)) {
+ if (! path_get_path(str, &path)) {
/** Use the empty string as the 'path' for commands that can not be found. */
path = L"";
}