aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}