all repos — fluxbox @ 65cb53b68551fde7dafe97f08c90b69f972f93ef

custom fork of the fluxbox windowmanager

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

Prep for Windows dummy prefix code.
Ryan Pavlik rpavlik@iastate.edu
commit

65cb53b68551fde7dafe97f08c90b69f972f93ef

parent

25d04827b5e754c4d898240de8676eb89d105eb6

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M src/FbTk/StringUtil.ccsrc/FbTk/StringUtil.cc

@@ -184,8 +184,9 @@ if (pos + 1 < filename.size()) {

// 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; }