diff options
Diffstat (limited to 'src/FbTk/StringUtil.cc')
-rw-r--r-- | src/FbTk/StringUtil.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbTk/StringUtil.cc b/src/FbTk/StringUtil.cc index 761014f..8532662 100644 --- a/src/FbTk/StringUtil.cc +++ b/src/FbTk/StringUtil.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: StringUtil.cc,v 1.3 2003/07/01 01:49:13 rathnor Exp $ | 22 | // $Id: StringUtil.cc,v 1.4 2003/08/10 12:50:04 rathnor Exp $ |
23 | 23 | ||
24 | #include "StringUtil.hh" | 24 | #include "StringUtil.hh" |
25 | 25 | ||
@@ -73,7 +73,6 @@ const char *strcasestr(const char *str, const char *ptn) { | |||
73 | returns expanded filename | 73 | returns expanded filename |
74 | */ | 74 | */ |
75 | string expandFilename(const std::string &filename) { | 75 | string expandFilename(const std::string &filename) { |
76 | |||
77 | string retval; | 76 | string retval; |
78 | size_t pos = filename.find_first_not_of(" \t"); | 77 | size_t pos = filename.find_first_not_of(" \t"); |
79 | if (pos != std::string::npos && filename[pos] == '~') { | 78 | if (pos != std::string::npos && filename[pos] == '~') { |
@@ -84,7 +83,7 @@ string expandFilename(const std::string &filename) { | |||
84 | } | 83 | } |
85 | } else | 84 | } else |
86 | return filename; //return unmodified value | 85 | return filename; //return unmodified value |
87 | 86 | ||
88 | return retval; | 87 | return retval; |
89 | } | 88 | } |
90 | 89 | ||