aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2011-10-31 15:19:40 (GMT)
committerRyan Pavlik <rpavlik@iastate.edu>2011-10-31 15:54:33 (GMT)
commit65cb53b68551fde7dafe97f08c90b69f972f93ef (patch)
tree4fde9363fcc5a38e8f44e9a9cb66d231b6232d0d /src/FbTk
parent25d04827b5e754c4d898240de8676eb89d105eb6 (diff)
downloadfluxbox_paul-65cb53b68551fde7dafe97f08c90b69f972f93ef.zip
fluxbox_paul-65cb53b68551fde7dafe97f08c90b69f972f93ef.tar.bz2
FbTk/StringUtil.cc: Don't return mid-routine.
Prep for Windows dummy prefix code.
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/StringUtil.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/StringUtil.cc b/src/FbTk/StringUtil.cc
index ec1f936..ad9739e 100644
--- a/src/FbTk/StringUtil.cc
+++ b/src/FbTk/StringUtil.cc
@@ -184,8 +184,9 @@ string expandFilename(const string &filename) {
184 // copy from the character after '~' 184 // copy from the character after '~'
185 retval += static_cast<const char *>(filename.c_str() + pos + 1); 185 retval += static_cast<const char *>(filename.c_str() + pos + 1);
186 } 186 }
187 } else 187 } else {
188 return filename; //return unmodified value 188 retval = filename; //return unmodified value
189 }
189 190
190 return retval; 191 return retval;
191} 192}