diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2014-06-19 21:23:12 +1000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-25 12:40:10 -0400 |
commit | cd12698b9caff8a7fc0006f409cbf317e67fec82 (patch) | |
tree | c83f8972f58c2315423ff58655ec67e16d0f5db6 /libs/pbd/system_exec.cc | |
parent | 8d0cba3384d862f5df9d5ce0675123c144579cd3 (diff) |
Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
Diffstat (limited to 'libs/pbd/system_exec.cc')
-rw-r--r-- | libs/pbd/system_exec.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index 5d2db21efc..b11ef1ce0e 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -195,7 +195,7 @@ SystemExec::SystemExec (std::string command, const std::map<char, std::string> s { init (); make_argp_escaped(command, subs); - if (!find_file_in_search_path (Searchpath (Glib::getenv ("PATH")), argp[0], cmd)) { + if (!find_file (Searchpath (Glib::getenv ("PATH")), argp[0], cmd)) { // not found in path - use as-is cmd = argp[0]; } |