FbTk/StringUtil.cc: Don't return mid-routine.

Prep for Windows dummy prefix code.
This commit is contained in:
Ryan Pavlik 2011-10-31 10:19:40 -05:00
parent 25d04827b5
commit 65cb53b685

View file

@ -184,8 +184,9 @@ string expandFilename(const string &filename) {
// copy from the character after '~'
retval += static_cast<const char *>(filename.c_str() + pos + 1);
}
} else
return filename; //return unmodified value
} else {
retval = filename; //return unmodified value
}
return retval;
}