From dff50e09fea194433e15aa6137c835cedcf94a58 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 28 Aug 2008 12:14:49 -0400 Subject: trailing whitespace removal, as approved by emacs (add-hook 'before-save-hook 'delete-trailing-whitespace) --- util.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util.cxx') diff --git a/util.cxx b/util.cxx index 97425d76..d57ef88c 100644 --- a/util.cxx +++ b/util.cxx @@ -173,7 +173,7 @@ find_executable(const char *name, string& retpath) if (!p) return false; path = p; - + // Split PATH up. tokenize(path, dirs, string(":")); @@ -215,8 +215,8 @@ const string cmdstr_quoted(const string& cmd) string::size_type pos = 0; quoted_cmd += quote; - for (string::size_type quote_pos = cmd.find(quote, pos); - quote_pos != string::npos; + for (string::size_type quote_pos = cmd.find(quote, pos); + quote_pos != string::npos; quote_pos = cmd.find(quote, pos)) { quoted_cmd += cmd.substr(pos, quote_pos - pos); quoted_cmd += replace; -- cgit